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}
|
{#if $profileData.profiles.length >= 1}
|
||||||
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
|
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
|
||||||
{#each $profileData.profiles as prof, index}
|
{#each $profileData.profiles as prof, index}
|
||||||
<SidebarButton
|
<Button
|
||||||
class={$profile?.id == prof.id
|
color="tertiary"
|
||||||
? expanded
|
alignment="left"
|
||||||
? 'font-bold'
|
|
||||||
: 'text-sky-500'
|
|
||||||
: ''}
|
|
||||||
{expanded}
|
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
setUserID(prof.id)
|
setUserID(prof.id)
|
||||||
goto($page.url, {
|
goto($page.url, {
|
||||||
invalidateAll: true,
|
invalidateAll: true,
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
|
class="hover:bg-slate-200 {expanded ? '' : '!p-1.5'}"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
src={UserCircle}
|
src={UserCircle}
|
||||||
@@ -78,7 +75,7 @@
|
|||||||
{prof.instance}
|
{prof.instance}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</SidebarButton>
|
</Button>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
|
<hr class="border-slate-300 dark:border-zinc-800 my-1" />
|
||||||
|
|||||||
@@ -57,7 +57,3 @@
|
|||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#await import('$lib/PwaReload.svelte') then { default: PwaReload }}
|
|
||||||
<PwaReload />
|
|
||||||
{/await}
|
|
||||||
+1
-1
@@ -6,7 +6,7 @@ export default defineConfig({
|
|||||||
plugins: [
|
plugins: [
|
||||||
sveltekit(),
|
sveltekit(),
|
||||||
SvelteKitPWA({
|
SvelteKitPWA({
|
||||||
registerType: 'prompt',
|
registerType: 'autoUpdate',
|
||||||
strategies: 'generateSW',
|
strategies: 'generateSW',
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ['client/**/*.{js,css,html,ico,png,svg}'],
|
globPatterns: ['client/**/*.{js,css,html,ico,png,svg}'],
|
||||||
|
|||||||
Reference in new issue
Block a user