Tweak empty table border (#4650)

This commit is contained in:
Wei Zhu 2017-01-19 22:40:30 +08:00 committed by GitHub
parent ddc7054751
commit fd861d6c0d

View File

@ -273,6 +273,13 @@
border-bottom: 0;
}
&.@{table-prefix-cls}-empty {
.@{table-prefix-cls}-placeholder {
border-left: 1px solid @border-color-split;
border-right: 1px solid @border-color-split;
}
}
&.@{table-prefix-cls}-fixed-header {
.@{table-prefix-cls}-header > table {
border-bottom: 0;
@ -289,7 +296,7 @@
}
.@{table-prefix-cls}-placeholder {
border-bottom: 0;
border: 0;
}
}
@ -297,10 +304,6 @@
border-bottom: 1px solid @border-color-split;
}
&.@{table-prefix-cls}-empty .@{table-prefix-cls}-thead > tr > th {
border-bottom: 0;
}
.@{table-prefix-cls}-thead > tr > th,
.@{table-prefix-cls}-tbody > tr > td {
border-right: 1px solid @border-color-split;
@ -337,7 +340,7 @@
&-placeholder {
padding: 16px 8px;
background: @component-background;
border-bottom: 1px solid @border-color-split;;
border-bottom: 1px solid @border-color-split;
text-align: center;
font-size: @font-size-base;
color: @text-color-secondary;