Fix mobile view of the popup (#4717)

This commit is contained in:
Robert Kaussow 2025-01-12 16:13:29 +01:00 committed by GitHub
parent f61d88aafd
commit 6c0f1c145d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,11 +6,8 @@
@click="$emit('close')"
/>
<!-- overlay end -->
<div
v-if="open"
class="max-w-1/3 max-w-4/5 md:max-h-3/5 fixed left-1/2 top-1/2 z-50 flex -translate-x-1/2 -translate-y-1/2 transform print:hidden"
>
<div class="shadow-all m-auto flex h-auto flex-col">
<div v-if="open" class="fixed inset-0 z-50 m-auto flex max-w-2xl print:hidden">
<div class="shadow-all m-auto flex h-auto flex-col p-2">
<slot />
</div>
</div>