瀏覽代碼

wip: desktop work

Adam 11 月之前
父節點
當前提交
4cebd69bf0
共有 1 個文件被更改,包括 17 次插入 和 4 次删除
  1. 17 4
      packages/ui/src/components/markdown.css

+ 17 - 4
packages/ui/src/components/markdown.css

@@ -17,8 +17,21 @@
     display: none;
   }
 
-  /* p { */
-  /*   margin-top: 8px; */
-  /*   margin-bottom: 8px; */
-  /* } */
+  h1,
+  h2,
+  h3 {
+    margin-top: 16px;
+    margin-bottom: 8px;
+    font-weight: var(--font-weight-medium);
+  }
+
+  p {
+    margin-bottom: 8px;
+  }
+
+  ul,
+  ol {
+    margin-top: 16px;
+    margin-bottom: 16px;
+  }
 }