An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(modal): add some padding to the top of the modal content to prevent cuttoffs of the content area and restore close-outside click behaviour
Jan Thiel0ca6ebdfad11
diff --git a/resources/views/components/modal-input.blade.php b/resources/views/components/modal-input.blade.phpindex 59fd19a636..344290f720 100644--- a/resources/views/components/modal-input.blade.php+++ b/resources/views/components/modal-input.blade.php@@ -40,9 +40,8 @@<div x-show="modalOpen" x-transition:enter="ease-out duration-100" x-transition:enter-start="opacity-0"x-transition:enter-end="opacity-100" x-transition:leave="ease-in duration-100"x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0"- @if ($closeOutside) @click="modalOpen=false" @endifclass="absolute inset-0 w-full h-full bg-black/20 backdrop-blur-xs"></div>- <div class="relative flex min-h-full items-start justify-center p-4 sm:items-center">+ <div @if ($closeOutside) @click.self="modalOpen=false" @endif class="relative flex min-h-full items-start justify-center p-4 sm:items-center"><div id="{{ $modalId }}" x-show="modalOpen" x-trap.inert.noscroll="modalOpen"x-transition:enter="ease-out duration-100"x-transition:enter-start="opacity-0 -translate-y-2 sm:scale-95"@@ -61,7 +60,7 @@</svg></button></div>- <div class="relative min-h-0 flex-1 overflow-y-auto px-6 pb-6">+ <div class="relative min-h-0 flex-1 overflow-y-auto px-6 pb-6 pt-1">{{ $slot }}</div></div>