diff options
-rw-r--r-- | Changes.textile | 1 | ||||
-rw-r--r-- | lib/coderay/styles/alpha.rb | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Changes.textile b/Changes.textile index f621de0..5ed0923 100644 --- a/Changes.textile +++ b/Changes.textile @@ -13,6 +13,7 @@ h2. Changes in 1.1 * Display line numbers in HTML @:table@ mode even for single-line code (remove special case) [#41, thanks to Ariejan de Vroom] * Add .xaml file type [#121, thanks to Kozman Bálint] * @CodeRay::TokenKinds@ should not be frozen [#130, thanks to Gavin Kistner] +* Override Bootstrap's pre word-break setting for line numbers [#102, thanks to lightswitch05] h2. Changes in 1.0.9 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; } |