This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-14 04:20:28 -04:00
1 parent aedb6bef4e
commit 7b2efdff08
1 file changed
+6 -4
@@ -122,10 +122,11 @@
<slot /> <slot />
<div slot="content"> <div slot="content">
<DropdownMenu className="{className} text-[13px]"> <DropdownMenu className="{className} font-sans text-xs">
{#if $user} {#if $user}
<div>
<button <button
class="flex h-[1.6875rem] items-center gap-2 rounded-xl px-2 text-[13px] w-full hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none" class="flex h-[1.6875rem] items-center gap-2 rounded-xl px-2 text-xs w-full hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none text-left"
type="button" type="button"
on:click={async () => { on:click={async () => {
show = false; show = false;
@@ -146,13 +147,14 @@
</div> </div>
<div class="self-center truncate">{$user.name}</div> <div class="self-center truncate">{$user.name}</div>
</button> </button>
</div>
{/if} {/if}
{#if profile} {#if profile}
{#if $user?.status_emoji || $user?.status_message} {#if $user?.status_emoji || $user?.status_message}
<div class="user-menu-status"> <div class="user-menu-status">
<button <button
class="w-full h-[1.6875rem] gap-2 rounded-xl px-2 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none text-[13px] flex items-center text-left" class="w-full h-[1.6875rem] gap-2 rounded-xl px-2 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none text-xs flex items-center text-left"
type="button" type="button"
on:click={() => { on:click={() => {
show = false; show = false;
@@ -204,7 +206,7 @@
{:else} {:else}
<div class="user-menu-status"> <div class="user-menu-status">
<button <button
class="w-full h-[1.6875rem] gap-2 rounded-xl px-2 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none text-[13px] flex items-center text-left" class="w-full h-[1.6875rem] gap-2 rounded-xl px-2 hover:bg-gray-50/40 dark:hover:bg-gray-800/40 transition cursor-pointer select-none text-xs flex items-center text-left"
type="button" type="button"
on:click={() => { on:click={() => {
show = false; show = false;