incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#4848] Horizontally scroll wide code snippets in Markdown
Date Fri, 14 Jun 2013 22:06:41 GMT
Updated Branches:
  refs/heads/master 167fa54b6 -> 7d01904af


[#4848] Horizontally scroll wide code snippets in Markdown

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/7d01904a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/7d01904a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/7d01904a

Branch: refs/heads/master
Commit: 7d01904af78b43e108785073e20912ce9a31d462
Parents: 167fa54
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Fri Jun 14 21:58:24 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Fri Jun 14 21:58:24 2013 +0000

----------------------------------------------------------------------
 Allura/allura/public/nf/css/forge/hilite.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7d01904a/Allura/allura/public/nf/css/forge/hilite.css
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/css/forge/hilite.css b/Allura/allura/public/nf/css/forge/hilite.css
index fdbf549..edd7f49 100644
--- a/Allura/allura/public/nf/css/forge/hilite.css
+++ b/Allura/allura/public/nf/css/forge/hilite.css
@@ -81,7 +81,8 @@
 .codehilite .vi { color: #19177C } /* Name.Variable.Instance */
 .codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
 
-.codehilite pre { margin:0; }
+.codehilite { overflow: auto; }
+.codehilite pre { margin:0; word-wrap: normal; }
 .codehilite div { margin:0; padding: 0; }
 .codehilite .code_block { width:100%; }
 .codehilite .code_block:hover { background-color: #ffff99; }


Mime
View raw message