Commit 81477a9a authored by 李名凯's avatar 李名凯 Committed by FuryBean

Table: Set the background color of striped table on the td element (#917)

parent 66442076
...@@ -312,9 +312,11 @@ ...@@ -312,9 +312,11 @@
@modifier striped { @modifier striped {
& .el-table__body { & .el-table__body {
& tr:nth-child(2n) { & tr:nth-child(2n) {
background: #FAFAFA; td {
background: #FAFAFA;
}
&.current-row { &.current-row td {
background: #EFF7FF; background: #EFF7FF;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment