Browse files

ensures that no browser shows a vertical scrollbar in the code blocks…

… of guides, thanks to Marcelino Llano for a hint to fix this
  • Loading branch information...
1 parent ec23bc1 commit e9d593bc18463f7c17f8abd10373adf071990de6 @fxn fxn committed Oct 24, 2010
2 railties/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
@@ -4,6 +4,8 @@
.syntaxhighlighter {
background-color: #eee !important;
font-family: "Anonymous Pro", "Inconsolata", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace !important;
+ overflow-y: hidden !important;
+ overflow-x: auto !important;
.syntaxhighlighter .line.alt1 {
background-color: #eee !important;
2 railties/guides/rails_guides/generator.rb
@@ -224,7 +224,7 @@ def with_workaround_for_notextile(body)
<div class="code_container">
<pre class="brush: #{brush}; gutter: false; toolbar: false">

0 comments on commit e9d593b

Please sign in to comment.