You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/06/21 23:34:21 UTC

[09/38] git commit: [#4848] Horizontally scroll wide code snippets in Markdown

[#4848] Horizontally scroll wide code snippets in Markdown

Signed-off-by: Cory Johns <cj...@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/cj/6272
Commit: 7d01904af78b43e108785073e20912ce9a31d462
Parents: 167fa54
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Fri Jun 14 21:58:24 2013 +0000
Committer: Cory Johns <cj...@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; }