From a4291347820b39d1ffea5d33150bc4bbfeab1a62 Mon Sep 17 00:00:00 2001 From: Dieter Holvoet Date: Sun, 11 Dec 2022 23:05:45 +0100 Subject: [PATCH] Allow toasts to span the full page width on mobile (#113) --- src/toastify.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/toastify.css b/src/toastify.css index b2e59d0..1262662 100644 --- a/src/toastify.css +++ b/src/toastify.css @@ -19,7 +19,8 @@ border-radius: 2px; cursor: pointer; text-decoration: none; - max-width: calc(50% - 20px); + box-sizing: border-box; + max-width: calc(100% - 30px); z-index: 2147483647; }