Browse Source

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

zq 5 days ago
parent
commit
8e5b396158

+ 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>