Merge pull request #8325 from qkiroc/style/table-tr-bg

styles: table tr样式优先级调整
This commit is contained in:
hsm-lv 2023-10-09 20:58:24 +08:00 committed by GitHub
commit c6ce9dd7dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -380,10 +380,12 @@
> thead > tr {
border-bottom: var(--Table-borderWidth) solid var(--Table-borderColor);
}
@at-root .#{$ns}Table-table-tr {
background: var(--Table-bg);
}
> tbody > tr {
position: relative;
// background: var(--Table-bg);
& + tr {
border-top: var(--Table-borderWidth) solid var(--Table-borderColor);