Close new account modal when clicking outside of it (#576)
This commit was merged in pull request #576.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<%# locals: (content:) -%>
|
||||
<%= turbo_frame_tag "modal" do %>
|
||||
<dialog class="bg-white border border-alpha-black-25 rounded-2xl max-h-[556px] max-w-[580px] w-full shadow-xs h-full" data-controller="modal" data-action="click->modal#click_outside">
|
||||
<dialog class="bg-white border border-alpha-black-25 rounded-2xl max-h-[556px] max-w-[580px] w-full shadow-xs h-full" data-controller="modal" data-action="click->modal#clickOutside">
|
||||
<div class="flex flex-col h-full">
|
||||
<%= content %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user