This commit is contained in:
宋伟佳
2021-07-08 14:41:49 +08:00
parent 0ff25fe894
commit 1a0242fea6
10 changed files with 1342 additions and 970 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset;
}
.el-table__fixed {
height:auto !important; // 让固定列的高自适应,且设置!important覆盖ele-ui的默认样式
//height:auto !important; // 让固定列的高自适应,且设置!important覆盖ele-ui的默认样式
bottom:17px; // 固定列默认设置了定位, position: absolute;top: 0;left: 0;只需要再设置一下bottom的值,让固定列和父元素的底部出现距离即可
position: absolute;
top: 0;