Better responsive style of Table

This commit is contained in:
afc163 2017-11-28 14:34:13 +08:00
parent 04a00e6e14
commit bd9fba9f45
2 changed files with 18 additions and 0 deletions

View File

@ -691,3 +691,5 @@
box-shadow: none;
}
}
@import './responsive';

View File

@ -0,0 +1,16 @@
@media (max-width: @screen-xs) {
.@{table-prefix-cls} {
&-thead > tr,
&-tbody > tr {
> th,
> td {
display: block;
width: auto !important;
border: none;
&:last-child {
border-bottom: 1px solid @border-color-split;
}
}
}
}
}