From f46a737548583a6cf12cf188bd24f89caa54fde7 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Tue, 11 Jun 2013 01:09:48 +0200 Subject: set line numbers to word-break: normal to fix #102 --- lib/coderay/styles/alpha.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/coderay') 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; } -- cgit v1.2.1