Close new account modal when clicking outside of it (#576)

This commit was merged in pull request #576.
This commit is contained in:
Thibaut Gorioux
2024-03-27 15:35:23 +01:00
committed by GitHub
parent d274d1a394
commit a1b25f1c5b

View File

@@ -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>