design: improve menu buttons
This commit is contained in:
4 files changed
+15
-14
No files matched your search
@@ -53,7 +53,7 @@
|
||||
>
|
||||
<div
|
||||
class="flex flex-col px-0 list-none bg-white/80 dark:bg-zinc-900/90 rounded-2xl
|
||||
border border-slate-300 dark:border-zinc-800 border-opacity-50"
|
||||
border border-slate-300 dark:border-zinc-800 border-opacity-50 py-1"
|
||||
>
|
||||
{@render children?.(open)}
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
size="custom"
|
||||
rounding="none"
|
||||
class={[
|
||||
'w-full px-4 py-2 min-h-7 font-normal duration-100',
|
||||
'w-full px-4.5 py-1.5 min-h-7 duration-100 font-normal',
|
||||
disabled && 'opacity-70 pointer-events-none cursor-not-allowed',
|
||||
color == 'tertiary' && 'dark:hover:bg-zinc-800/70',
|
||||
clazz,
|
||||
@@ -54,7 +54,7 @@
|
||||
<div
|
||||
class={[
|
||||
'contents shrink-0',
|
||||
color == 'tertiary' && 'text-slate-500 dark:text-zinc-500',
|
||||
color == 'tertiary' && 'text-slate-600 dark:text-zinc-400',
|
||||
]}
|
||||
>
|
||||
{#if icon}
|
||||
|
||||
Reference in new issue
Block a user