Explorar el Código

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

lishihao hace 4 años
padre
commit
e06878a40d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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 {