Selaa lähdekoodia

富文本的样式权重

Karsa 2 vuotta sitten
vanhempi
commit
16649afb2a
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      src/views/priceDriven/detail.vue

+ 5 - 5
src/views/priceDriven/detail.vue

@@ -547,15 +547,15 @@ onUnmounted(() => {
     .rich-section {
       padding: 20px;
       ::v-deep(img) {
-        width: 100%;
+        width: 100% !important;
       }
       ::v-deep(span) {
-        font-size: 18px;
-        line-height: 1.8;
+        font-size: 18px !important;
+        line-height: 1.8 !important;
       }
       ::v-deep(p) {
-        font-size: 18px;
-        line-height: 1.8;
+        font-size: 18px !important;
+        line-height: 1.8 !important;
       }
     }
   }