From 8671006b70501d82c7176a2166bbed1703ec1ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Fri, 9 Dec 2011 16:14:15 +0100 Subject: [PATCH] [#649] Prevent the extra wiki styles from interfering with code highlighting. --- public/stylesheets/application.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 19528ae4..9a4df9d1 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -2354,6 +2354,17 @@ Additional wiki styles padding: 4px 4px 4px 48px; min-height: 33px; } + +/* Reset .wiki p.important for syntax highlighting rules */ +.syntaxhl .CodeRay .important { + background: none; + border: none; + display: inline; + margin: 0; + padding: 0; + min-height: 0; +} + .wiki p.smallsee-also, .wiki p.smallcaution, .wiki p.smallimportant, .wiki p.smallinfo, .wiki p.smalltip, .wiki p.smallnote, .wiki span.smallsee-also, .wiki span.smallcaution, .wiki span.smallimportant, .wiki span.smallinfo, .wiki span.smalltip, .wiki span.smallnote { display: block;