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/22 14:31:34 UTC

[38/42] 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/ed344ab6
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ed344ab6
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ed344ab6

Branch: refs/heads/ib/7897
Commit: ed344ab689e2ab4ee5f348859ce81cabb04bcc97
Parents: 1787068
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri Jul 17 17:12:52 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Wed Jul 22 10:59:53 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/ed344ab6/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;