fix open modal mobile

This commit is contained in:
Pete Matsyburka
2026-07-30 17:40:54 +03:00
parent 3667993caf
commit 50ec7682b5
20 changed files with 124 additions and 65 deletions
+2 -2
View File
@@ -164,7 +164,7 @@
v-if="withSendButton"
id="send_button"
:href="`/templates/${template.id}/submissions/new?with_link=true`"
data-turbo-frame="modal"
:data-turbo-frame="isMobile && isBreakpointLg ? '_top' : 'modal'"
class="white-button md:!px-6"
@click="maybeShowErrorTemplateAlert"
>
@@ -229,7 +229,7 @@
<li>
<a
:href="`/templates/${template.id}/preferences`"
data-turbo-frame="modal"
:data-turbo-frame="isMobile && isBreakpointLg ? '_top' : 'modal'"
class="flex space-x-2"
@click="closeDropdown"
>