doortts doortts 2016-03-13
markdown: Match markdown preview css with rendering
@0ebfc3e6f253de22a0633856f2a11f44056bc690
app/assets/stylesheets/less/_page.less
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
@@ -3111,6 +3111,9 @@
 
 div.markdown-preview {
     font-size: 1.1em;
+    &.update-comment-body, &.comment-body {
+        font-size: 1.05em;
+    }
     overflow-x:auto;
     margin: 0;
     vertical-align : middle;
app/views/common/editor.scala.html
--- app/views/common/editor.scala.html
+++ app/views/common/editor.scala.html
@@ -45,7 +45,7 @@
         </div>
 
         <div id="preview-@wrapId" class="tab-pane">
-            <div class="markdown-preview markdown-wrap" data-via-email="@viaEmail"></div>
+            <div class="markdown-preview markdown-wrap @editorMode" data-via-email="@viaEmail"></div>
         </div>
     </div>
 </div>
Add a comment
List