Add CSS fix for WebKit/Mac rendering issue.

This commit is contained in:
Henry Phan 2011-02-05 13:09:35 -08:00
parent 8b5dc9caa5
commit 742f5f4a5d
2 changed files with 18 additions and 0 deletions

@ -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;
}

@ -12,6 +12,8 @@
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shCore.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shThemeRailsGuides.css" />
<link rel="stylesheet" type="text/css" href="stylesheets/fixes.css" />
</head>
<body class="guide">
<% if @edge %>