From 330032f1d4fe5de313da7103c165f5573ac3c840 Mon Sep 17 00:00:00 2001 From: Erik Gaasedelen Date: Thu, 4 Dec 2025 21:04:27 -0800 Subject: [PATCH] Bump toast z-index to 1090 so toasts appear above modals --- fasthtml/toaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fasthtml/toaster.py b/fasthtml/toaster.py index 0b80dcb7..1a35af63 100644 --- a/fasthtml/toaster.py +++ b/fasthtml/toaster.py @@ -7,7 +7,7 @@ sk = "toasts" toast_css = """ #fh-toast-container { - position: fixed; inset: 20px 0; z-index: 1000; max-width: 80vw; + position: fixed; inset: 20px 0; z-index: 1090; max-width: 80vw; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; margin: 0 auto; }