Element: [Bug Report] header-row-style

Created on 16 Apr 2018  ·  3Comments  ·  Source: ElemeFE/element

Element UI version

0.1.0

OS/Browsers version

window7

Vue version

2.5.17-beta.0

Reproduction Link

https://jsfiddle.net/mmx38qxw/1690/

Steps to reproduce

最新版css完全没有效果

What is Expected?

能够更改

What is actually happening?

不能更改

Most helpful comment

2.1.0 对 Table 进行了一定程度的重构,目前表头的背景色是由

.el-table th, .el-table tr {
    background-color: #fff;
}

定义的,因此修改 <tr> 元素的背景色后,仍会被 <th> 的背景色覆盖。如果要修改背景色,请使用 header-cell-stylehttps://jsfiddle.net/leopoldthecuber/mmx38qxw/1705/

All 3 comments

Translation of this issue:

Element UI version

0.1.0

OS/Browsers version

Window7

Vue version

2.5.17-beta.0

Reproduction Link

https://jsfiddle.net/mmx38qxw/1690/

Steps to reproduce

The latest version of CSS is completely ineffective

What is Expected?

Can change

What is actually happening?

Cannot change

in 2.0.8 can change the style
However in 2.3.4 , it is not work

2.1.0 对 Table 进行了一定程度的重构,目前表头的背景色是由

.el-table th, .el-table tr {
    background-color: #fff;
}

定义的,因此修改 <tr> 元素的背景色后,仍会被 <th> 的背景色覆盖。如果要修改背景色,请使用 header-cell-stylehttps://jsfiddle.net/leopoldthecuber/mmx38qxw/1705/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yubo111 picture yubo111  ·  3Comments

PanJiaChen picture PanJiaChen  ·  3Comments

dbskccc picture dbskccc  ·  3Comments

chao-hua picture chao-hua  ·  3Comments

yorululu picture yorululu  ·  3Comments