Skip to content

Commit

Permalink
refactor(Table): do not use asterisk
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Jun 27, 2024
1 parent c107072 commit c7fe71e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
min-width: 100%;
width: fit-content;

> * {
> [role="columnheader"] {
background-color: inherit;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
min-width: 100%;
width: fit-content;

&[aria-selected="true"] > * {
&[aria-selected="true"] > [role="cell"] {
background-color: var(--primary-selected-color);
}

> * {
> [role="cell"] {
background-color: var(--primary-background-color);
}

&:hover {
> * {
> [role="cell"] {
background-color: var(--primary-background-hover-color);
}

&[aria-selected="true"] > * {
&[aria-selected="true"] > [role="cell"] {
background-color: var(--primary-selected-hover-color);
}
}
Expand Down

0 comments on commit c7fe71e

Please sign in to comment.