Skip to content

Commit

Permalink
Fix toast's z-index
Browse files Browse the repository at this point in the history
This doesn't seem to be needed and breaks the toast if the component tree gets too deep.
  • Loading branch information
mayankchhabra authored and lukechilds committed Nov 25, 2024
1 parent c09521a commit 6e99930
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ a {
overflow-x: clip;
}

/* By default, `[data-sonner-toaster]` `z-index` is high enough that we can't put anything over it */
[data-sonner-toaster] {
@apply !z-50;
}

/* Fixes action button not aligning to the right when content is too short */
[data-sonner-toaster] [data-content] {
@apply w-full;
Expand Down

0 comments on commit 6e99930

Please sign in to comment.