Ver Fonte
Table: Set the background color of striped table on the td element (#917)
李名凯
há 8 anos atrás
|
@@ -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;
|
|
|
}
|
|
|
}
|