fix: fix padding issue
This commit is contained in:
1 parent
3bb21a4fd9
commit
7b259ee4ce
3 files changed
+6
-13
No files matched your search
@@ -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" />
|
||||
|
||||
@@ -57,7 +57,3 @@
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#await import('$lib/PwaReload.svelte') then { default: PwaReload }}
|
||||
<PwaReload />
|
||||
{/await}
|
||||
+1
-1
@@ -6,7 +6,7 @@ export default defineConfig({
|
||||
plugins: [
|
||||
sveltekit(),
|
||||
SvelteKitPWA({
|
||||
registerType: 'prompt',
|
||||
registerType: 'autoUpdate',
|
||||
strategies: 'generateSW',
|
||||
workbox: {
|
||||
globPatterns: ['client/**/*.{js,css,html,ico,png,svg}'],
|
||||
|
||||
Reference in new issue
Block a user