Skip to content

Commit cd6e2c5

Browse files
committed
Add safe area inset to mobile top and bottom
1 parent 16e08a7 commit cd6e2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packages/Toaster.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,11 +892,11 @@ html[dir='rtl'],
892892
}
893893
894894
[data-sonner-toaster][data-y-position='bottom'] {
895-
bottom: calc(var(--mobile-offset-bottom) + max(env(safe-area-inset-bottom), 0));
895+
bottom: calc(var(--mobile-offset-bottom) + max(env(safe-area-inset-bottom), 0px));
896896
}
897897
898898
[data-sonner-toaster][data-y-position='top'] {
899-
top: calc(var(--mobile-offset-top) + max(env(safe-area-inset-top), 0));
899+
top: calc(var(--mobile-offset-top) + max(env(safe-area-inset-top), 0px));
900900
}
901901
902902
[data-sonner-toaster][data-x-position='center'] {

0 commit comments

Comments
 (0)