From 8eafbce3f4961fb8326b3de0fbba14c3a25320f7 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 23 Dec 2011 10:30:16 +0100 Subject: [PATCH] fix vertical scrollbar in webkit based browsers --- .../resources/syntaxhighlighter/styles/shCoreNetbeans.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scm-webapp/src/main/webapp/resources/syntaxhighlighter/styles/shCoreNetbeans.css b/scm-webapp/src/main/webapp/resources/syntaxhighlighter/styles/shCoreNetbeans.css index 04ef66acc5..6c892449b3 100644 --- a/scm-webapp/src/main/webapp/resources/syntaxhighlighter/styles/shCoreNetbeans.css +++ b/scm-webapp/src/main/webapp/resources/syntaxhighlighter/styles/shCoreNetbeans.css @@ -39,7 +39,10 @@ width: 100% !important; margin: 1em 0 1em 0 !important; position: relative !important; - overflow: auto !important; + /** fix vertical scollbar in webkit browsers **/ + overflow-x: auto !important; + overflow-y: hidden !important; + font-size: 1em !important; } .syntaxhighlighter.source { overflow: hidden !important; }