Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

fix: html dialog not closing (#1167)

Jestin Palamuttam5178928b686b
diff --git a/app/views/shared/_drawer.html.erb b/app/views/shared/_drawer.html.erb
index 68aa2db5..de796424 100644
--- a/app/views/shared/_drawer.html.erb
+++ b/app/views/shared/_drawer.html.erb
@@ -1,5 +1,5 @@
<%= turbo_frame_tag "drawer" do %>
- <dialog class="bg-white border border-alpha-black-25 rounded-2xl max-w-[480px] w-full shadow-xs h-full mt-4 mr-4 focus-visible:outline-none flex flex-col" data-controller="modal" data-action="click->modal#clickOutside">
+ <dialog class="bg-white border border-alpha-black-25 rounded-2xl max-w-[480px] w-full shadow-xs h-full mt-4 mr-4 focus-visible:outline-none" data-controller="modal" data-action="click->modal#clickOutside">
<div class="flex flex-col h-full">
<div class="flex justify-end items-center p-4">
<div data-action="click->modal#close" class="cursor-pointer p-2">