Skip to content

Commit b4f8645

Browse files
ziyoungoleksiikhr
authored andcommitted
Table: update table header cell style (ElemeFE#17284)
1 parent ea15991 commit b4f8645

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

packages/theme-chalk/src/table.scss

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -185,30 +185,18 @@
185185
}
186186

187187
th {
188-
white-space: nowrap;
189188
overflow: hidden;
190189
user-select: none;
191190
background-color: $--table-header-background-color;
192191

193-
div {
192+
> .cell {
194193
display: inline-block;
195-
padding-left: 10px;
196-
padding-right: 10px;
197-
line-height: 40px;
198194
box-sizing: border-box;
199-
overflow: hidden;
200-
white-space: nowrap;
201-
text-overflow: ellipsis;
202-
}
203-
204-
> .cell {
205195
position: relative;
206-
word-wrap: normal;
207-
text-overflow: ellipsis;
208-
display: inline-block;
209196
vertical-align: middle;
197+
padding-left: 10px;
198+
padding-right: 10px;
210199
width: 100%;
211-
box-sizing: border-box;
212200

213201
&.highlight {
214202
color: $--color-primary;

0 commit comments

Comments
 (0)