Merge pull request #9298 from ArtemDzhereleiko/AD/bug-fix/table-style-specificity

Fixed entity table fields overlaying
This commit is contained in:
Igor Kulikov 2023-09-20 16:19:04 +03:00 committed by GitHub
commit dd8c65da69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -738,18 +738,23 @@ mat-label {
} }
} }
.mat-mdc-table {
.mat-mdc-row { .mat-mdc-row {
transition: background-color .2s; transition: background-color .2s;
&:hover:not(.tb-current-entity) { &:hover:not(.tb-current-entity) {
background-color: #f4f4f4; background-color: #f4f4f4;
} }
&.tb-current-entity { &.tb-current-entity {
background-color: #e9e9e9; background-color: #e9e9e9;
} }
&.tb-pointer { &.tb-pointer {
cursor: pointer; cursor: pointer;
} }
} }
}
.mat-mdc-row:not(.mat-row-select), .mat-mdc-header-row:not(.mat-row-select) { .mat-mdc-row:not(.mat-row-select), .mat-mdc-header-row:not(.mat-row-select) {
.mat-mdc-cell:first-child, .mat-mdc-footer-cell:first-child, .mat-mdc-header-cell:first-child { .mat-mdc-cell:first-child, .mat-mdc-footer-cell:first-child, .mat-mdc-header-cell:first-child {