Просмотр исходного кода

bug fix: 很多地方line-height设置不合理

任一存 2 лет назад
Родитель
Сommit
7b49edc9eb

+ 2 - 2
src/components/UIGather/mobile/control/text.vue

@@ -60,7 +60,7 @@ const close = () => {
     height: 100%;
     width: 100%;
     :deep(p) {
-      line-height: 24px;
+      line-height: 1.5;
     }
 
     .txtbody {
@@ -71,7 +71,7 @@ const close = () => {
       padding: 20px;
       max-height: calc(100vh - 60px);
       overflow-y: auto;
-      line-height: 24px;
+      line-height: 1.5;
     }
   }
 

+ 1 - 1
src/components/assembly/MobileTags/metas/metas-text.vue

@@ -22,7 +22,7 @@ const currentTag = computed(() => store.getters['tags/currentTag'])
   overflow-y: scroll;
   padding-top: 70px;
   :deep(p) {
-    line-height: 24px;
+    line-height: 1.5;
   }
 }
 </style>

+ 1 - 1
src/components/assembly/Tags/metas/metas-imagetext.vue

@@ -308,7 +308,7 @@ watchEffect(() => {
         overflow-y: auto;
         line-height: 1.5;
         :deep(p) {
-          line-height: 24px;
+          line-height: 1.5;
         }
       }
     }

+ 1 - 1
src/components/assembly/Tags/metas/metas-text.vue

@@ -39,7 +39,7 @@ const currentTag = computed(() => store.getters['tags/currentTag'])
     overflow-y: auto;
     line-height: 1.5;
     :deep(p) {
-      line-height: 24px;
+      line-height: 1.5;
     }
   }
   .title{