浏览代码

Merge pull request #7222 from wenzhixin/fix/7220

Fixed footer height bug when setting table-sm
文翼 1 年之前
父节点
当前提交
1ab50b084a
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/themes/_theme.scss

+ 3 - 2
src/themes/_theme.scss

@@ -81,7 +81,8 @@
         box-sizing: border-box;
       }
 
-      thead th {
+      thead th,
+      tfoot th {
         vertical-align: bottom;
         padding: 0;
         margin: 0;
@@ -168,7 +169,7 @@
       }
 
       &.table-sm .th-inner {
-        padding: 0.3rem;
+        padding: 0.25rem;
       }
     }