Browse Source

样式调整

jwyu 3 years ago
parent
commit
ae83c46c7b
1 changed files with 5 additions and 3 deletions
  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{