Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix modal height in Safari (#648)

Jakub Kottnauer0a1fa525d547
diff --git a/app/views/shared/_modal.html.erb b/app/views/shared/_modal.html.erb
index c6ae75df..e3571783 100644
--- a/app/views/shared/_modal.html.erb
+++ b/app/views/shared/_modal.html.erb
@@ -1,7 +1,7 @@
<%# locals: (content:) -%>
<%= turbo_frame_tag "modal" do %>
<dialog class="bg-white border border-alpha-black-25 rounded-2xl max-h-[648px] max-w-[580px] w-full shadow-xs h-fit" data-controller="modal" data-action="click->modal#clickOutside">
- <div class="flex flex-col h-full">
+ <div class="flex flex-col">
<%= content %>
</div>
</dialog>