update daisyui, fix UI

This commit is contained in:
Alex Turchyn
2023-06-22 22:50:47 +03:00
parent 92e05ae8e9
commit ac5d0c8cc3
10 changed files with 48 additions and 22 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<turbo-frame id="modal">
<turbo-modal class="modal modal-open items-start">
<turbo-modal class="modal modal-open items-start !animate-none">
<div class="absolute top-0 bottom-0 right-0 left-0" data-action="click:turbo-modal#close"></div>
<div class="modal-box pt-4 pb-6 px-6 mt-20">
<% if local_assigns[:title] %>
@@ -7,7 +7,7 @@
<span>
<%= local_assigns[:title] %>
</span>
<a href="#" class="w-8 h-8 flex items-center justify-center text-xl rounded-lg text-center hover:bg-base-300" data-action="click:turbo-modal#close">&times;</a>
<a href="#" class="text-xl" data-action="click:turbo-modal#close">&times;</a>
</div>
<% end %>
<div>