style: migrate z-index syntax in toast

This commit is contained in:
2026-06-07 17:44:49 +02:00
committed by Milas Holsting
parent b87a8feb1b
commit 4e375adcee

View File

@@ -11,7 +11,7 @@ const toastContainer = (): HTMLElement => {
if (!container) { if (!container) {
container = document.createElement("div"); container = document.createElement("div");
container.id = "toast-container"; container.id = "toast-container";
container.className = "fixed bottom-4 right-4 z-[100] flex flex-col gap-2"; container.className = "fixed bottom-4 right-4 z-100 flex flex-col gap-2";
container.setAttribute("role", "status"); container.setAttribute("role", "status");
container.setAttribute("aria-live", "polite"); container.setAttribute("aria-live", "polite");
container.setAttribute("aria-relevant", "additions"); container.setAttribute("aria-relevant", "additions");