Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Fix modal height bug [safari] (#420)

Rob Zolkosac37b54a3207
diff --git a/app/views/shared/_modal.html.erb b/app/views/shared/_modal.html.erb
index 773af70a..ca29c673 100644
--- a/app/views/shared/_modal.html.erb
+++ b/app/views/shared/_modal.html.erb
@@ -1,6 +1,6 @@
<%# locals: (content:) -%>
<%= turbo_frame_tag "modal" do %>
- <dialog class="bg-white border border-[#141414]/25 rounded-2xl max-h-[556px] max-w-[580px] w-full shadow-xs" data-controller="modal" data-action="click->modal#click_outside">
+ <dialog class="bg-white border border-[#141414]/25 rounded-2xl max-h-[556px] max-w-[580px] w-full shadow-xs h-full" data-controller="modal" data-action="click->modal#click_outside">
<div class="flex flex-col h-full">
<%= content %>
</div>