fix: Move table-bg less variable into table background instead of td (#20794)

This commit is contained in:
二货机器人 2020-01-09 14:22:34 +08:00 committed by GitHub
parent 935a984cca
commit 1bea19b1dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@
position: relative;
z-index: 0;
clear: both;
background: @table-bg;
// https://github.com/ant-design/ant-design/issues/17611
table {
@ -48,11 +49,6 @@
overflow-wrap: break-word;
}
// weak priority
td {
background: @table-bg;
}
&-cell-ellipsis {
overflow: hidden;
white-space: nowrap;
@ -520,6 +516,7 @@
&-cell-fix-left,
&-cell-fix-right {
z-index: 2;
background: @table-bg;
}
&-cell-fix-left-last::after {