diff options
author | Henry Phan <henry@henryphan.com> | 2011-02-05 13:09:35 -0800 |
---|---|---|
committer | Henry Phan <henry@henryphan.com> | 2011-02-05 13:09:35 -0800 |
commit | 742f5f4a5d0deec132d2bfed53706e05d51871cb (patch) | |
tree | 5b1b8d209f866d97d3dc340bd5dce04f82d6c643 /railties/guides/assets/stylesheets | |
parent | 8b5dc9caa52a2877e3ecc207515fd156abad45e0 (diff) | |
download | rails-742f5f4a5d0deec132d2bfed53706e05d51871cb.tar.gz rails-742f5f4a5d0deec132d2bfed53706e05d51871cb.tar.bz2 rails-742f5f4a5d0deec132d2bfed53706e05d51871cb.zip |
Add CSS fix for WebKit/Mac rendering issue.
Diffstat (limited to 'railties/guides/assets/stylesheets')
-rw-r--r-- | railties/guides/assets/stylesheets/fixes.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/railties/guides/assets/stylesheets/fixes.css b/railties/guides/assets/stylesheets/fixes.css new file mode 100644 index 0000000000..54efa5b9b7 --- /dev/null +++ b/railties/guides/assets/stylesheets/fixes.css @@ -0,0 +1,16 @@ +/* + Fix a rendering issue affecting WebKits on Mac. + See https://github.com/lifo/docrails/issues#issue/16 for more information. +*/ +.syntaxhighlighter a, +.syntaxhighlighter div, +.syntaxhighlighter code, +.syntaxhighlighter table, +.syntaxhighlighter table td, +.syntaxhighlighter table tr, +.syntaxhighlighter table tbody, +.syntaxhighlighter table thead, +.syntaxhighlighter table caption, +.syntaxhighlighter textarea { + line-height: 1.2em !important; +} |