zhangjie hace 1 año
padre
commit
8e24b2f7d7

+ 8 - 0
src/assets/styles/element-ui-costom.scss

@@ -315,3 +315,11 @@
     }
   }
 }
+// el-tag
+.el-tag {
+  white-space: normal;
+  min-height: 28px;
+  line-height: 20px;
+  height: auto;
+  padding: 3px 10px;
+}

+ 3 - 0
src/assets/styles/pages.scss

@@ -1179,6 +1179,9 @@
 
 // question-preview-dialog
 .question-preview-dialog {
+  .el-dialog__body {
+    padding: 0;
+  }
   .edit-part {
     margin-bottom: 15px;
 

+ 1 - 1
src/modules/question/components/QuestionPreviewDialog.vue

@@ -1,6 +1,6 @@
 <template>
   <el-dialog
-    custom-class="question-preview-dialog"
+    custom-class="question-preview-dialog edit-paper"
     :visible.sync="modalIsShow"
     title="试题预览"
     width="1000px"