mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
CSS fix to prevent error output from being breaking out of body element.
Using the white-space: pre-wrap adds extra line breaks to prevent the text from breaking out of the element's box. In this case single line output can be extremely long, breaking out the <body> element. See for reference: http://www.quirksmode.org/css/whitespace.html Before: http://link.olivierlacan.com/BVU4 After: http://link.olivierlacan.com/BUfM
This commit is contained in:
parent
567d454d99
commit
a50f659e08
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
background-color: #eee;
|
||||
padding: 10px;
|
||||
font-size: 11px;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
a { color: #000; }
|
||||
|
|
Loading…
Reference in a new issue