refactor: update onboarding modal backdrop visibility logic for improved user experience
This commit is contained in:
@@ -45,8 +45,8 @@
|
|||||||
x-transition.opacity
|
x-transition.opacity
|
||||||
class="fixed inset-0 z-50 flex items-center justify-center px-4 py-6 sm:py-10">
|
class="fixed inset-0 z-50 flex items-center justify-center px-4 py-6 sm:py-10">
|
||||||
|
|
||||||
<div class="absolute inset-0 transition-opacity duration-300"
|
<div x-show="showBackdrop"
|
||||||
:class="showBackdrop ? 'bg-black/70' : 'bg-black/40'"
|
class="absolute inset-0 bg-black/70 transition-opacity duration-300"
|
||||||
@click="finish()"></div>
|
@click="finish()"></div>
|
||||||
|
|
||||||
<div class="relative w-full max-w-xl bg-background-secondary border border-neutral rounded-2xl shadow-2xl overflow-hidden min-h-[400px]"
|
<div class="relative w-full max-w-xl bg-background-secondary border border-neutral rounded-2xl shadow-2xl overflow-hidden min-h-[400px]"
|
||||||
|
|||||||
Reference in New Issue
Block a user