Skip to content

Commit

Permalink
Table: update table header cell style (ElemeFE#17284)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung authored Sep 6, 2019
1 parent 3807b54 commit 5480fb1
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions packages/theme-chalk/src/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,30 +185,18 @@
}

th {
white-space: nowrap;
overflow: hidden;
user-select: none;
background-color: $--table-header-background-color;

div {
> .cell {
display: inline-block;
padding-left: 10px;
padding-right: 10px;
line-height: 40px;
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

> .cell {
position: relative;
word-wrap: normal;
text-overflow: ellipsis;
display: inline-block;
vertical-align: middle;
padding-left: 10px;
padding-right: 10px;
width: 100%;
box-sizing: border-box;

&.highlight {
color: $--color-primary;
Expand Down

0 comments on commit 5480fb1

Please sign in to comment.