Change-Id: I862e64656e69706fc22874387b672ac8d3dc3aa8
This commit is contained in:
2betop 2020-11-19 11:58:24 +08:00
parent 814af41b4a
commit 89007add5e

View File

@ -14,50 +14,39 @@
position: absolute;
background: $Table-bg;
z-index: 5;
// https://github.com/baidu/amis/pull/1080
// top: auto;
// box-shadow: none;
top: -999999px;
&.in {
top: auto;
}
top: auto;
box-shadow: none;
}
&-fixedLeft {
box-shadow: $Table-fixedLeft-boxShadow;
left: 0;
// https://github.com/baidu/amis/pull/1080
// &.in {
// box-shadow: $Table-fixedLeft-boxShadow;
// }
&.in {
box-shadow: $Table-fixedLeft-boxShadow;
}
// .#{$ns}Table-table > thead > tr > th:last-child {
// border-right: $Table-thead-borderWidth solid $Table-thead-borderColor;
// }
.#{$ns}Table-table > thead > tr > th:last-child {
border-right: $Table-thead-borderWidth solid $Table-thead-borderColor;
}
}
&-fixedRight {
box-shadow: $Table-fixedRight-boxShadow;
right: 0;
// https://github.com/baidu/amis/pull/1080
// &.in {
// box-shadow: $Table-fixedRight-boxShadow;
// }
&.in {
box-shadow: $Table-fixedRight-boxShadow;
}
// .#{$ns}Table-table {
// > thead > tr > th:first-child,
// > tbody > tr > td:first-child {
// padding-left: $TableCell-paddingX;
// }
.#{$ns}Table-table {
> thead > tr > th:first-child,
> tbody > tr > td:first-child {
padding-left: $TableCell-paddingX;
}
// > thead > tr > th:first-child {
// border-left: $Table-thead-borderWidth solid $Table-thead-borderColor;
// }
// }
> thead > tr > th:first-child {
border-left: $Table-thead-borderWidth solid $Table-thead-borderColor;
}
}
}
&-fixedTop {