Преглед изворни кода

Update QuillEditor.vue

修复QuillEditor工具栏行高受ant样式影响导致变形的问题
李孟宁 пре 4 година
родитељ
комит
8e2cdc7d47
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/components/Editor/QuillEditor.vue

+ 1 - 0
src/components/Editor/QuillEditor.vue

@@ -72,6 +72,7 @@ export default {
 
 /* 覆盖 quill 默认边框圆角为 ant 默认圆角,用于统一 ant 组件风格 */
 .ant-editor-quill {
+  line-height: initial;
   /deep/ .ql-toolbar.ql-snow {
     border-radius: @border-radius-base @border-radius-base 0 0;
   }