mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +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;
|
position: relative;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
background: @table-bg;
|
||||||
|
|
||||||
// https://github.com/ant-design/ant-design/issues/17611
|
// https://github.com/ant-design/ant-design/issues/17611
|
||||||
table {
|
table {
|
||||||
@ -48,11 +49,6 @@
|
|||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
// weak priority
|
|
||||||
td {
|
|
||||||
background: @table-bg;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-cell-ellipsis {
|
&-cell-ellipsis {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -520,6 +516,7 @@
|
|||||||
&-cell-fix-left,
|
&-cell-fix-left,
|
||||||
&-cell-fix-right {
|
&-cell-fix-right {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
background: @table-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-cell-fix-left-last::after {
|
&-cell-fix-left-last::after {
|
||||||
|
Loading…
Reference in New Issue
Block a user