Remove the top margin for mobile devices

This commit is contained in:
brufdev
2025-05-16 14:44:19 +01:00
parent 077038ae85
commit 23843e8837

View File

@@ -4,7 +4,7 @@
<template x-teleport="body">
<div
class="fixed inset-0 z-50 w-full overflow-x-hidden overflow-y-auto max-h-full flex justify-center{{ $top ? ' mt-5' : ' items-end sm:items-center' }}"
class="fixed inset-0 z-50 w-full overflow-x-hidden overflow-y-auto max-h-full flex justify-center {{ $top ? 'sm:mt-5' : 'items-end sm:items-center' }}"
x-show="modalOpen"
@keydown.escape.window="modalOpen = false"
>