fix(SW-993): toast is now full width on mobile
updated sonner to latest version increased default duration of toast to 5 sec
This commit is contained in:
@@ -6,7 +6,12 @@
|
||||
background: var(--Base-Surface-Primary-light-Normal);
|
||||
box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.08);
|
||||
align-items: center;
|
||||
width: var(--width);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.toast {
|
||||
width: var(--width);
|
||||
}
|
||||
}
|
||||
|
||||
.toast .message {
|
||||
|
||||
Reference in New Issue
Block a user