aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/files
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-02-25 00:59:37 +0100
committerXavier Noria <fxn@hashref.com>2009-02-25 00:59:37 +0100
commit7d773a17a48376f1ccc0b7ea148625acc421b396 (patch)
tree0f59c97a20a3055633b23ce406180ab7bde4ec5b /railties/guides/files
parentd5fb5791433a9c1492e75151e86ec001b65663e8 (diff)
downloadrails-7d773a17a48376f1ccc0b7ea148625acc421b396.tar.gz
rails-7d773a17a48376f1ccc0b7ea148625acc421b396.tar.bz2
rails-7d773a17a48376f1ccc0b7ea148625acc421b396.zip
fixes scroll beyond the box in code blocks (fix suggested by toretore)
Diffstat (limited to 'railties/guides/files')
-rw-r--r--railties/guides/files/stylesheets/main.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/railties/guides/files/stylesheets/main.css b/railties/guides/files/stylesheets/main.css
index de6e26647b..1e006adf6e 100644
--- a/railties/guides/files/stylesheets/main.css
+++ b/railties/guides/files/stylesheets/main.css
@@ -369,11 +369,14 @@ tt {
font-size: 0.9em;
}
+div.code_container {
+ background: #EEE url(../../images/tab_grey.gif) no-repeat left top;
+ padding: 0.25em 1em 0.5em 48px;
+}
+
code {
font-family: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace;
- background: #EEE url(../../images/tab_grey.gif) no-repeat left top;
border: none;
- padding: 0.25em 1em 0.5em 48px;
margin: 0.25em 0 1.5em 0;
display: block;
}