diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-16 15:26:31 -0800 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-16 15:26:31 -0800 |
commit | 272f2b778fb0afeb2b0107976d62aaab8bca026d (patch) | |
tree | d418629425101236cdf55568d864f86c37a24699 | |
parent | 540e929d75616feab3dc456b7a6bd616909d9684 (diff) | |
parent | a50f659e081785479b068b311862703584a589ca (diff) | |
download | rails-272f2b778fb0afeb2b0107976d62aaab8bca026d.tar.gz rails-272f2b778fb0afeb2b0107976d62aaab8bca026d.tar.bz2 rails-272f2b778fb0afeb2b0107976d62aaab8bca026d.zip |
Merge pull request #3500 from olivierlacan/error-whitespace
CSS fix to prevent error output from being breaking out of body element.
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb index 6e71fd7ddc..1a308707d1 100644 --- a/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb +++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/layout.erb @@ -16,6 +16,7 @@ background-color: #eee; padding: 10px; font-size: 11px; + white-space: pre-wrap; } a { color: #000; } |