aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/files
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-02-25 00:28:27 +0100
committerXavier Noria <fxn@hashref.com>2009-02-25 00:28:27 +0100
commitd5fb5791433a9c1492e75151e86ec001b65663e8 (patch)
tree47365e542a262b48f6a6c1bb57272158987a071b /railties/guides/files
parent3e911045f9ffa2e7b2fd991b0000c1de42a52362 (diff)
downloadrails-d5fb5791433a9c1492e75151e86ec001b65663e8.tar.gz
rails-d5fb5791433a9c1492e75151e86ec001b65663e8.tar.bz2
rails-d5fb5791433a9c1492e75151e86ec001b65663e8.zip
added overflow: auto for code blocks in guides CSS
Diffstat (limited to 'railties/guides/files')
-rw-r--r--railties/guides/files/stylesheets/main.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/files/stylesheets/main.css b/railties/guides/files/stylesheets/main.css
index 76417bb296..de6e26647b 100644
--- a/railties/guides/files/stylesheets/main.css
+++ b/railties/guides/files/stylesheets/main.css
@@ -23,7 +23,7 @@ dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em;}
-pre,code { margin: 1.5em 0; white-space: pre; }
+pre,code { margin: 1.5em 0; white-space: pre; overflow: auto; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
abbr, acronym { border-bottom: 1px dotted #666; }