Fixed flash in mobile view
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user