瀏覽代碼

注释弹窗样式细化(减少空白)

zq 5 天之前
父節點
當前提交
8e5b396158
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      src/views/book/courseware/preview/components/rich_text/RichTextPreview.vue

+ 12 - 0
src/views/book/courseware/preview/components/rich_text/RichTextPreview.vue

@@ -151,6 +151,18 @@ export default {
     position: fixed;
     margin: 0 !important;
     transition: all 0.2s; /* 添加平滑过渡效果 */
+    .el-dialog__header {
+      padding: 0 !important;
+
+      .el-dialog__headerbtn {
+        top: 6px !important;
+        right: 6px !important;
+      }
+    }
+
+    .el-dialog__body {
+      padding: 10px !important;
+    }
   }
 }
 </style>