mirror of https://github.com/ElemeFE/element
Table: update table header cell style (#17284)
parent
3807b54ab2
commit
5480fb1dda
|
@ -185,30 +185,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
background-color: $--table-header-background-color;
|
background-color: $--table-header-background-color;
|
||||||
|
|
||||||
div {
|
> .cell {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
box-sizing: border-box;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: middle;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 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;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
|
||||||
|
|
||||||
&.highlight {
|
&.highlight {
|
||||||
color: $--color-primary;
|
color: $--color-primary;
|
||||||
|
|
Loading…
Reference in New Issue