From 8a986cae3ad95fea4dc0f1a65dec9e494ae689c1 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sat, 15 Oct 2011 07:21:53 +0200 Subject: fix additional scrollbar --- Changes.textile | 1 + lib/coderay/styles/alpha.rb | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Changes.textile b/Changes.textile index f7a6679..c932bea 100644 --- a/Changes.textile +++ b/Changes.textile @@ -8,6 +8,7 @@ h2. Changes in 1.0.1 * fixed warning in the output of "coderay stylesheet" * YAML scanner allows "-" and "/" in key names +* fix additional scrollbar in code when last line contains an eyecatcher * minor fixes in the tests h2. Changes in 1.0 diff --git a/lib/coderay/styles/alpha.rb b/lib/coderay/styles/alpha.rb index ca51433..8506d10 100644 --- a/lib/coderay/styles/alpha.rb +++ b/lib/coderay/styles/alpha.rb @@ -45,7 +45,6 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; } .CodeRay span.line-numbers { padding: 0px 4px; } .CodeRay .line { display: block; float: left; width: 100%; } .CodeRay .code { width: 100%; } -.CodeRay .code pre { overflow: auto; } MAIN TOKEN_COLORS = <<-'TOKENS' -- cgit v1.2.1