Skip to content

Commit

Permalink
fix: reverse left position on mobile rtl (emilkowalski#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher authored Jun 25, 2024
1 parent b4ffb60 commit 2b99cd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@
width: 100%;
}

[data-sonner-toaster][dir='rtl'] {
left: calc(var(--mobile-offset) * -1);
}

[data-sonner-toaster] [data-sonner-toast] {
left: 0;
right: 0;
Expand Down

0 comments on commit 2b99cd8

Please sign in to comment.