mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: Move table-bg less variable into table background instead of td (#20794)
This commit is contained in:
parent
935a984cca
commit
1bea19b1dc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user