Browse Source

Fix markdown rendering in the message viewer

Fixes #284
Maxime Quandalle 9 năm trước cách đây
mục cha
commit
ddb6b62f53

+ 7 - 0
client/components/main/layouts.styl

@@ -316,10 +316,17 @@ a
   margin-left: 38px
   margin-left: 38px
 
 
 .viewer
 .viewer
+  ol
+    list-style-type: decimal
+    padding-left: 20px
+
   ul
   ul
     list-style-type: initial
     list-style-type: initial
     padding-left: 20px
     padding-left: 20px
 
 
+  em
+    font-style : italic
+
   pre
   pre
     padding: 10px 12px 7px
     padding: 10px 12px 7px
     background: darken(white, 13%)
     background: darken(white, 13%)