Skip to content

Commit

Permalink
fix: Move table-bg less variable into table background instead of td
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jan 9, 2020
1 parent 935a984 commit 9e87bf8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/table/style/index.less
Expand Up @@ -24,6 +24,7 @@
position: relative;
z-index: 0;
clear: both;
background: @table-bg;

// https://github.com/ant-design/ant-design/issues/17611
table {
Expand All @@ -48,11 +49,6 @@
overflow-wrap: break-word;
}

// weak priority
td {
background: @table-bg;
}

&-cell-ellipsis {
overflow: hidden;
white-space: nowrap;
Expand Down Expand Up @@ -520,6 +516,7 @@
&-cell-fix-left,
&-cell-fix-right {
z-index: 2;
background: @table-bg;
}

&-cell-fix-left-last::after {
Expand Down

0 comments on commit 9e87bf8

Please sign in to comment.