소스 검색

样式调整

jwyu 3 년 전
부모
커밋
ae83c46c7b
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      src/views/report/ChapterDetail.vue

+ 5 - 3
src/views/report/ChapterDetail.vue

@@ -439,15 +439,17 @@ let showDisclaimers=ref(false)//显示免责声明
             font-size: 18px;
             font-weight: bold;
             margin-top: 20px;
+            display: flex;
+            align-items: center;
             &::before{
+                flex-shrink: 0;
                 content: '';
+                display: block;
                 width: 6px;
-                height: 30px;
-                display: inline-block;
+                min-height: 30px;
                 background-color: #F3A52F;
                 margin-right: 10px;
                 position: relative;
-                top: 10px;
             }
         }
         .rich-content{