소스 검색

fix(desktop): markdown styles

Adam 1 개월 전
부모
커밋
5de73abd82
1개의 변경된 파일10개의 추가작업 그리고 8개의 파일을 삭제
  1. 10 8
      packages/ui/src/components/markdown.css

+ 10 - 8
packages/ui/src/components/markdown.css

@@ -6,7 +6,7 @@
   color: var(--text-base);
   font-family: var(--font-family-sans);
   font-size: var(--font-size-base); /* 14px */
-  line-height: var(--line-height-large);
+  line-height: var(--line-height-x-large);
 
   /* Spacing for flow */
   > *:first-child {
@@ -65,7 +65,7 @@
   }
 
   li {
-    margin-bottom: 0.25rem;
+    margin-bottom: 1.5rem;
   }
 
   li::marker {
@@ -117,13 +117,15 @@
   :not(pre) > code {
     font-family: var(--font-family-mono);
     font-feature-settings: var(--font-family-mono--font-feature-settings);
-    font-size: 13px;
+    color: var(--syntax-string);
+    font-weight: var(--font-weight-medium);
+    /* font-size: 13px; */
 
-    padding: 2px 2px;
-    margin: 0 1.5px;
-    border-radius: 2px;
-    background: var(--surface-base);
-    box-shadow: 0 0 0 0.5px var(--border-weak-base);
+    /* padding: 2px 2px; */
+    /* margin: 0 1.5px; */
+    /* border-radius: 2px; */
+    /* background: var(--surface-base); */
+    /* box-shadow: 0 0 0 0.5px var(--border-weak-base); */
   }
 
   /* Tables */