feat: improve image loading
This commit is contained in:
1 parent
adcf1a6ada
commit
8d03d105e2
9 files changed
+62
-15
No files matched your search
@@ -83,14 +83,23 @@
|
||||
<Navbar />
|
||||
<ToastContainer />
|
||||
<Moderation />
|
||||
<div class="flex flex-row h-full w-full max-w-full flex-1">
|
||||
<div
|
||||
class="flex flex-row h-full w-full max-w-full flex-1
|
||||
"
|
||||
>
|
||||
<Sidebar />
|
||||
<main
|
||||
class="p-3 sm:p-6 min-w-0 w-full flex-[3] sm:rounded-tl-lg
|
||||
border-slate-200 dark:border-zinc-900 sm:border-l border-t bg-slate-25 dark:bg-zinc-950"
|
||||
id="main"
|
||||
<div
|
||||
class="w-full border-t sm:border-l border-slate-200 dark:border-zinc-900
|
||||
sm:rounded-xl bg-slate-25 dark:bg-zinc-950"
|
||||
>
|
||||
<slot />
|
||||
</main>
|
||||
<main
|
||||
class="p-3 sm:p-6 min-w-0 w-full flex-[3] sm:rounded-tl-lg mx-auto
|
||||
"
|
||||
class:max-w-6xl={$userSettings.newWidth}
|
||||
id="main"
|
||||
>
|
||||
<slot />
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -81,6 +81,15 @@
|
||||
{$userSettings.randomPlaceholders ? 'Enabled' : 'Disabled'}
|
||||
</Checkbox>
|
||||
</Setting>
|
||||
<Setting>
|
||||
<span slot="title">Limit Layout Width</span>
|
||||
<span slot="description">
|
||||
Improve readability by limiting main content width.
|
||||
</span>
|
||||
<Checkbox bind:checked={$userSettings.newWidth}>
|
||||
{$userSettings.newWidth ? 'Enabled' : 'Disabled'}
|
||||
</Checkbox>
|
||||
</Setting>
|
||||
|
||||
<Setting>
|
||||
<span slot="title">Default sort</span>
|
||||
|
||||
Reference in new issue
Block a user