소스 검색

富文本的样式权重

Karsa 2 년 전
부모
커밋
16649afb2a
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  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;
       }
     }
   }