summaryrefslogtreecommitdiff
path: root/lib/coderay/styles
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-11 01:09:48 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-11 01:09:48 +0200
commitf46a737548583a6cf12cf188bd24f89caa54fde7 (patch)
tree1cd87b6d68b320f345ddee30c26f1320032b152c /lib/coderay/styles
parent3aa890c2575407a24704ee4fca8fca5571f256cb (diff)
downloadcoderay-f46a737548583a6cf12cf188bd24f89caa54fde7.tar.gz
set line numbers to word-break: normal to fix #102
Diffstat (limited to 'lib/coderay/styles')
-rw-r--r--lib/coderay/styles/alpha.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/coderay/styles/alpha.rb b/lib/coderay/styles/alpha.rb
index 1f073b6..81bbe3b 100644
--- a/lib/coderay/styles/alpha.rb
+++ b/lib/coderay/styles/alpha.rb
@@ -39,6 +39,9 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; }
color: gray !important;
text-decoration: none !important;
}
+.CodeRay .line-numbers pre {
+ word-break: normal;
+}
.CodeRay .line-numbers a:target { color: blue !important; }
.CodeRay .line-numbers .highlighted { color: red !important; }
.CodeRay .line-numbers .highlighted a { color: red !important; }