Fixed flash in mobile view
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-31 01:52:01 +02:00
parent ff9f8b7523
commit 8c5e862eb3

View File

@@ -6,7 +6,7 @@
bar_color = type == "notice" ? "bg-green-500" : "bg-red-500"
%>
<div data-controller="flash" class="fixed top-20 right-5 z-50 max-w-sm w-full">
<div data-controller="flash" class="fixed top-20 right sm:right-5 z-50 max-w-sm sm:w-full">
<!-- Das relative Attribut und overflow-hidden sind wichtig für den Balken -->
<div data-flash-target="notification"