fix: fix padding issue

This commit is contained in:
Xyphyn committed 2023-08-03 17:43:34 -07:00
1 parent 3bb21a4fd9
commit 7b259ee4ce
3 files changed
+6 -13

No files matched your search

+5 -8
View File
@@ -50,19 +50,16 @@
{#if $profileData.profiles.length >= 1}
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
{#each $profileData.profiles as prof, index}
<SidebarButton
class={$profile?.id == prof.id
? expanded
? 'font-bold'
: 'text-sky-500'
: ''}
{expanded}
<Button
color="tertiary"
alignment="left"
on:click={() => {
setUserID(prof.id)
goto($page.url, {
invalidateAll: true,
})
}}
class="hover:bg-slate-200 {expanded ? '' : '!p-1.5'}"
>
<Icon
src={UserCircle}
@@ -78,7 +75,7 @@
{prof.instance}
</span>
</span>
</SidebarButton>
</Button>
{/each}
{/if}
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
-4
View File
@@ -57,7 +57,3 @@
</main>
</div>
</div>
{#await import('$lib/PwaReload.svelte') then { default: PwaReload }}
<PwaReload />
{/await}