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

pull/943/head
李名凯 2016-11-09 13:52:26 +08:00 committed by FuryBean
parent 6644207668
commit 81477a9af9
1 changed files with 4 additions and 2 deletions

View File

@ -312,9 +312,11 @@
@modifier striped {
& .el-table__body {
& tr:nth-child(2n) {
td {
background: #FAFAFA;
}
&.current-row {
&.current-row td {
background: #EFF7FF;
}
}