mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
Tweak empty table border (#4650)
This commit is contained in:
parent
ddc7054751
commit
fd861d6c0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user