merged branch ruimarinho/exception_css_tweaks (PR #3827)

Commits
-------

fad114b Tweaked the exceptions layout CSS in order to display the error message even when wrapped around <pre> tags

Discussion
----------

Tweaked the exceptions layout CSS in order to display the error message even when wrapped around <pre> tags

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: ![Build status](https://secure.travis-ci.org/ruimarinho/symfony.png?branch=exception_css_tweaks)
Fixes the following tickets: -
Todo: -

Ever been in a situation when you're debugging code wrapped around `<pre>` tags and that code throws an exception? If you're familiar with this screenshot, you have :-) ![Image](http://i.imgur.com/dwxdD.png)

This PR is just a little tweak to the exceptions layout CSS in order to allow your to view the exception message. It also fixes a word break when messages are too long. ![Image 2](http://i.imgur.com/whxZv.png).

The build is currently failing due to an unmerged patch from the 2.0 branch.
This commit is contained in:
Fabien Potencier 2012-04-08 09:24:17 +02:00
commit 5122d68c24
2 changed files with 19 additions and 13 deletions

View File

@ -76,6 +76,7 @@ build: 56
padding: 5px 4px;
list-style-type: decimal;
margin-left: 20px;
white-space: break-word;
}
.sf-exceptionreset #logs .traces li.error {
font-style: normal;

View File

@ -129,3 +129,8 @@ img {
width: 970px;
margin: 0 auto;
}
pre {
white-space: normal;
font-family: Arial, Helvetica, sans-serif;
}