Skip to content

Commit

Permalink
fix: dynamic mobile width based on --mobile-offset (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
atsixian authored Mar 16, 2024
1 parent c5b6f61 commit 94cb71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ html[dir='rtl'],
[data-sonner-toaster] [data-sonner-toast] {
left: 0;
right: 0;
width: calc(100% - 32px);
width: calc(100% - var(--mobile-offset) * 2);
}

[data-sonner-toaster][data-x-position='left'] {
Expand Down

0 comments on commit 94cb71e

Please sign in to comment.