Browse Source

feat: 样式调整,用于检查

sunxiao 1 month ago
parent
commit
efbe1b268a
2 changed files with 4 additions and 0 deletions
  1. 3 0
      src/assets/styles/github-markdown-light.scss
  2. 1 0
      src/components/Chat/ChatText.vue

+ 3 - 0
src/assets/styles/github-markdown-light.scss

@@ -546,6 +546,9 @@
 .markdown-body li>p {
   margin-top: 16px;
 }
+.markdown-body p, .markdown-body li {
+  font-size: 14px;
+}
 
 .markdown-body li+li {
   margin-top: .25em;

+ 1 - 0
src/components/Chat/ChatText.vue

@@ -213,6 +213,7 @@ const text = computed(() => {
     background: #eff8fc;
     margin-bottom: 16px;
     overflow-x: scroll;
+    font-size: 14px;
 
     &::-webkit-scrollbar {
       height: 6px;