mirror of https://github.com/ElemeFE/element
Table: Set the background color of striped table on the td element (#917)
parent
6644207668
commit
81477a9af9
|
@ -312,9 +312,11 @@
|
|||
@modifier striped {
|
||||
& .el-table__body {
|
||||
& tr:nth-child(2n) {
|
||||
background: #FAFAFA;
|
||||
td {
|
||||
background: #FAFAFA;
|
||||
}
|
||||
|
||||
&.current-row {
|
||||
&.current-row td {
|
||||
background: #EFF7FF;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue