diff options
author | Olivier Lacan <olivier.lacan@gmail.com> | 2011-11-03 10:01:32 -0400 |
---|---|---|
committer | Olivier Lacan <olivier.lacan@gmail.com> | 2011-11-03 10:01:32 -0400 |
commit | a50f659e081785479b068b311862703584a589ca (patch) | |
tree | 6e08b43672b7b05f028952c865c8ef48fcfaeda3 /activerecord/lib/active_record/callbacks.rb | |
parent | 567d454d99bd472ef342c047c0038504fa4f960c (diff) | |
download | rails-a50f659e081785479b068b311862703584a589ca.tar.gz rails-a50f659e081785479b068b311862703584a589ca.tar.bz2 rails-a50f659e081785479b068b311862703584a589ca.zip |
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
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions