File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ import {
2222const VISIBLE_TOASTS_AMOUNT = 3 ;
2323
2424// Viewport padding
25- const VIEWPORT_OFFSET = '32px ' ;
25+ const VIEWPORT_OFFSET = '24px ' ;
2626
2727// Mobile viewport padding
2828const MOBILE_VIEWPORT_OFFSET = '16px' ;
2929
3030// Default lifetime of a toasts (in ms)
31- const TOAST_LIFETIME = 4000 ;
31+ const TOAST_LIFETIME = 5000 ;
3232
3333// Default toast width
3434const TOAST_WIDTH = 356 ;
Original file line number Diff line number Diff line change @@ -51,16 +51,6 @@ html[dir='rtl'],
5151 transition : transform 400ms ease;
5252}
5353
54- [data-sonner-toaster ][data-lifted = 'true' ] {
55- transform : translateY (-10px );
56- }
57-
58- @media (hover : none) and (pointer : coarse) {
59- [data-sonner-toaster ][data-lifted = 'true' ] {
60- transform : none;
61- }
62- }
63-
6454[data-sonner-toaster ][data-x-position = 'right' ] {
6555 right : var (--offset-right );
6656}
You can’t perform that action at this time.
0 commit comments