Skip to content

Commit

Permalink
💄 Update padding, spacing, and icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ssakone committed Dec 25, 2023
1 parent a20bc38 commit b0f318e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/lib/components/AccountDropdownMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

<div data-popup="accountDropdownMenu">
<div
class="menu-modal card w-72 shadow-xl backdrop-blur-xl bg-surface-200 dark:bg-zinc-800 pt-3 rounded-2xl border-[0.33px] border-solid border-white border-opacity-30"
class="menu-modal card w-72 shadow-xl backdrop-blur-xl bg-surface-200 dark:bg-zinc-800 pt-3 rounded-2xl border-[0.33px] border-solid border-white border-opacity-30 pl-1"
>
<nav class="list-nav w-full">
<nav class="list-nav w-full" class:pb-3={canEdit}>
<ul class="w-full">
{#each $profiles as profile}
<li class="flex w-full items-stretch justify-between">
<li class="flex w-full gap-2">
<div class="flex-grow">
<button class="btn px-0 py-0" on:click={() => load(profile)}>
<Avatar
Expand All @@ -32,7 +32,7 @@

<div class="text-black dark:text-white text-base self-center my-auto">
{#if profile.name}
{profile.name.length > 10 ? profile.name.slice(0, 10) + '...' : profile.name}
{profile.name.length > 16 ? profile.name.slice(0, 16) + '...' : profile.name}
{/if}
</div>
{#if $userProfile?.name === profile?.name}
Expand Down Expand Up @@ -73,6 +73,8 @@
<span class="flex-auto text-black dark:text-white">Add Account</span>
</button>
</li>
{:else}
<li class="h-4 w-2" />
{/if}
</ul>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/popup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
use:popup={accountDropdownMenu}
on:click={() => (accountDropdownMenuOpen = !accountDropdownMenuOpen)}
>
<span class="flex flex-row gap-2 items-center justify-between w-[250px]">
<span class="flex flex-row gap-1 items-center justify-between w-[250px]">
<Avatar
src={$userProfile?.metadata?.picture || 'https://toastr.space/images/toastr.png'}
width="w-10"
Expand Down
Binary file modified static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b0f318e

Please sign in to comment.