Skip to content

Commit

Permalink
chore: remove :where pseudo-class from some of the selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
sadeghbarati committed Nov 14, 2024
1 parent 8462460 commit 26cc191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
background: rgba(255, 255, 255, 0.3);
}

:where([data-sonner-toast]) :where([data-close-button]) {
[data-sonner-toast] [data-close-button] {
position: absolute;
left: var(--toast-close-button-start);
right: var(--toast-close-button-end);
Expand Down Expand Up @@ -245,7 +245,7 @@
cursor: not-allowed;
}

:where([data-sonner-toast]):hover :where([data-close-button]):hover {
[data-sonner-toast]:hover [data-close-button]:hover {
background: var(--gray2);
border-color: var(--gray5);
}
Expand Down

0 comments on commit 26cc191

Please sign in to comment.