Просмотр исходного кода

fix(handsontable): 调整handsontable的行高及文字垂直不居中问题

lishihao 4 лет назад
Родитель
Сommit
e06878a40d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      handsontable/src/css/handsontable.css

+ 2 - 1
handsontable/src/css/handsontable.css

@@ -81,7 +81,7 @@
   border-left-width: 0;
   border-right: 1px solid #CCC;
   border-bottom: 1px solid #CCC;
-  height: 19px;
+  height: 18px;
   empty-cells: show;
   line-height: 18px;
   padding: 0 4px 0 4px;
@@ -93,6 +93,7 @@
   white-space: pre-line;
   /* preserve new line character in cell */
   background-clip: padding-box;
+  padding-top: 1px;
 }
 
 .handsontable td.htInvalid {