From 365e065a237aa3c6f05d45465aa2ffbf74e76839 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 --- src/toastify.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/toastify.css b/src/toastify.css index ccd65c8..cd37c5a 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; }