Przeglądaj źródła

文本标签高度样式bug修改

zhouna 5 lat temu
rodzic
commit
6e3b3cd447
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/common/components/EditableSpan/index.less

+ 3 - 3
src/common/components/EditableSpan/index.less

@@ -5,15 +5,15 @@
   word-break: break-word;
   min-width: 10px;
   // line-height: 2;
-  height: 16px;//火狐需要
-  line-height: 16px;
+  min-height: 16px;//火狐需要
+  line-height: 22px;
   vertical-align: middle;
   text-align: left;
   padding-right: 1px;//火狐左右移动需要
 }
 .full{
   width: 100%;
-  line-height: 100%;
+  line-height: 22px;
 }
 .unselect{
   color: @placeholder-color;