mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Table: Set the background color of striped table on the td element (#917)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user