Skip to content

Commit 39cd984

Browse files
bug #19663 Exception details break the layout (Dionysis Arvanitis)
This PR was merged into the 2.7 branch. Discussion ---------- Exception details break the layout Exception details break the layout | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | License | MIT By adding `word-wrap: break-word;` the exception details will wrap inside the block. Commits ------- 00b4ecb Exception details break the layout
2 parents 56cdaf9 + 00b4ecb commit 39cd984

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Debug/ExceptionHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ public function getStylesheet(FlattenException $exception)
319319
border-bottom:1px solid #ccc;
320320
border-right:1px solid #ccc;
321321
border-left:1px solid #ccc;
322+
word-wrap: break-word;
322323
}
323324
.sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px;
324325
-webkit-border-top-left-radius: 16px;

0 commit comments

Comments
 (0)