feat: improve image loading

This commit is contained in:
Xyphyn committed 2023-09-24 13:44:19 -07:00
1 parent adcf1a6ada
commit 8d03d105e2
9 files changed
+62 -15

No files matched your search

+1 -1
View File
@@ -47,6 +47,6 @@
</div>
{/if}
<button on:click={() => (open = !open)} class="{$$props.class}">
<button on:click={() => (open = !open)} class="contents {$$props.class}">
<slot />
</button>
+3 -1
View File
@@ -44,7 +44,9 @@
<nav
class="flex flex-row gap-2 items-center sticky top-0 bg-slate-50/80
dark:bg-black/80 backdrop-blur-3xl w-full mx-auto px-4 py-2 z-50 box-border h-16"
dark:bg-black/80 backdrop-blur-3xl w-full mx-auto px-4 py-2 z-50 box-border h-16
"
>
<div class="flex flex-row gap-2 items-center mr-auto">
<a href="/" class="flex flex-row items-center gap-2 logo group">
+1 -1
View File
@@ -23,7 +23,7 @@
gap-1 max-h-[calc(100svh-4rem)] w-full bg-slate-50 dark:bg-black
{$userSettings.expandSidebar
? 'max-w-[25%] resize-x min-w-[12rem]'
: 'w-max max-w-max min-w-max'}"
: 'w-max max-w-max min-w-max'} {$$props.class}"
>
<Button
on:click={() =>