misc: tweak modal
This commit is contained in:
1 parent
88e9a91c60
commit
800cfc4d0c
2 files changed
+3
-2
No files matched your search
@@ -148,6 +148,7 @@
|
|||||||
{buttonRounding[rounding][roundingSide]}
|
{buttonRounding[rounding][roundingSide]}
|
||||||
{buttonShadow[shadow]}
|
{buttonShadow[shadow]}
|
||||||
text-sm transition-all font-medium cursor-pointer duration-100
|
text-sm transition-all font-medium cursor-pointer duration-100
|
||||||
|
disabled:opacity-50 disabled:pointer-events-none
|
||||||
{alignment == 'center'
|
{alignment == 'center'
|
||||||
? 'origin-center'
|
? 'origin-center'
|
||||||
: alignment == 'left'
|
: alignment == 'left'
|
||||||
|
|||||||
@@ -40,14 +40,14 @@ bg-white/50 dark:bg-black/50 box-border p-4"
|
|||||||
bind:this={el}
|
bind:this={el}
|
||||||
use:focusTrap
|
use:focusTrap
|
||||||
transition:scale|global={{
|
transition:scale|global={{
|
||||||
start: 0.95,
|
start: 0.97,
|
||||||
easing: backOut,
|
easing: backOut,
|
||||||
duration: 300,
|
duration: 300,
|
||||||
}}
|
}}
|
||||||
class="w-full border border-slate-200 border-b-slate-300
|
class="w-full border border-slate-200 border-b-slate-300
|
||||||
dark:border-zinc-900 dark:border-t-zinc-800 dark:border-b-zinc-900
|
dark:border-zinc-900 dark:border-t-zinc-800 dark:border-b-zinc-900
|
||||||
rounded-2xl max-w-lg box-border mx-auto overscroll-contain shadow-lg overflow-auto
|
rounded-2xl max-w-lg box-border mx-auto overscroll-contain shadow-lg overflow-auto
|
||||||
p-5 flex flex-col gap-2 dark:bg-zinc-950 dark:bg-zinc-925
|
p-5 flex flex-col gap-2 dark:bg-zinc-925
|
||||||
bg-white relative"
|
bg-white relative"
|
||||||
>
|
>
|
||||||
{#if dismissable}
|
{#if dismissable}
|
||||||
|
|||||||
Reference in new issue
Block a user