misc: tweak main menu

This commit is contained in:
Xyphyn committed 2023-08-09 12:09:42 -07:00
1 parent 629482e5d3
commit e08434805d
2 files changed
+8 -3

No files matched your search

+7 -2
View File
@@ -164,7 +164,12 @@
{/if} {/if}
</Menu> </Menu>
</div> </div>
<Menu let:toggleOpen alignment="bottom-right" itemsClass="!h-8"> <Menu
let:toggleOpen
alignment="bottom-right"
itemsClass="!h-8"
containerClass="!max-h-[28rem]"
>
<button <button
class="w-8 h-8 rounded-full ring-1 ring-slate-300 bg-slate-100 class="w-8 h-8 rounded-full ring-1 ring-slate-300 bg-slate-100
dark:bg-zinc-800 relative" dark:bg-zinc-800 relative"
@@ -247,7 +252,7 @@
<span>Theme</span> <span>Theme</span>
<select <select
bind:value={$theme} bind:value={$theme}
class="ml-auto w-max" class="ml-auto w-max px-1 rounded-sm"
on:click|stopPropagation={() => {}} on:click|stopPropagation={() => {}}
> >
<option value="system">System</option> <option value="system">System</option>
+1 -1
View File
@@ -67,7 +67,7 @@
)} )}
rounded-md py-2 min-w-[16rem] my-2 flex flex-col shadow-md rounded-md py-2 min-w-[16rem] my-2 flex flex-col shadow-md
bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 border border-slate-200 dark:border-zinc-800
" {$$props.containerClass}"
> >
{#if open} {#if open}
<div on:click={toggleOpen} class="flex flex-col gap-0"> <div on:click={toggleOpen} class="flex flex-col gap-0">