You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/07/27 15:12:06 UTC
[45/49] allura git commit: [#7897] ticket:823 Fixed-width font for
preformatted text in the preview
[#7897] ticket:823 Fixed-width font for preformatted text in the preview
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/eaba4773
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/eaba4773
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/eaba4773
Branch: refs/heads/ib/7897
Commit: eaba4773bb642fcc94d683fa1b350cbcf1f4f600
Parents: cb8e49f
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri Jul 17 17:12:52 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Mon Jul 27 14:23:56 2015 +0300
----------------------------------------------------------------------
Allura/allura/lib/widgets/resources/css/markitup_sf.css | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/eaba4773/Allura/allura/lib/widgets/resources/css/markitup_sf.css
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/css/markitup_sf.css b/Allura/allura/lib/widgets/resources/css/markitup_sf.css
index c673765..5dd88cd 100644
--- a/Allura/allura/lib/widgets/resources/css/markitup_sf.css
+++ b/Allura/allura/lib/widgets/resources/css/markitup_sf.css
@@ -39,6 +39,9 @@
.markdown_edit .editor-preview {
z-index: 1001; /* should always be under help modal */
}
+.markdown_edit .editor-preview pre {
+ font-family: monospace;
+}
.markdown_edit .editor-preview-active {
background-color: transparent;
position: relative;