优化 table 样式

This commit is contained in:
2betop 2020-06-08 10:17:28 +08:00
parent af35ea4c22
commit 76750bff84
2 changed files with 12 additions and 0 deletions

View File

@ -1552,8 +1552,16 @@
} }
} }
.visible-xs {
display: none;
}
/*phone*/ /*phone*/
@media (max-width: 767px) { @media (max-width: 767px) {
.visible-xs {
display: block;
}
.w-auto-xs { .w-auto-xs {
width: auto; width: auto;
} }

View File

@ -117,6 +117,7 @@
@include clearfix(); @include clearfix();
display: flex; display: flex;
padding: $Table-toolbar-paddingY $Table-toolbar-paddingX; padding: $Table-toolbar-paddingY $Table-toolbar-paddingX;
flex-wrap: wrap;
.#{$ns}DropDown { .#{$ns}DropDown {
&-menuItem { &-menuItem {
@ -424,6 +425,7 @@
border-right: 0; border-right: 0;
width: px2rem(1px); width: px2rem(1px);
padding-right: 0; padding-right: 0;
cursor: move;
} }
> tbody > tr > td.#{$ns}Table-expandCell { > tbody > tr > td.#{$ns}Table-expandCell {
@ -651,6 +653,8 @@
color: $text--loud-color; color: $text--loud-color;
clear: both; clear: both;
margin-top: $gap-xs; margin-top: $gap-xs;
width: 100%;
color: $info;
} }
&-footTable { &-footTable {