fix: subscribed community collapser is always visible

This commit is contained in:
Xylight committed 2024-03-04 18:00:20 -08:00
1 parent cd7720e44d
commit fb92da4a27
2 files changed
+21 -3

No files matched your search

+6 -1
View File
@@ -84,7 +84,12 @@
{/if}
<Expandable open>
<span slot="title" class="px-2 py-1 w-full">
<span
slot="title"
class="px-2 py-1 w-full {$userSettings.expandSidebar
? ''
: 'max-lg:hidden'}"
>
<EndPlaceholder>
Subscribed
<span slot="action" class="dark:text-white text-black">
+15 -2
View File
@@ -35,7 +35,7 @@
</Modal>
{/if}
<div class="flex flex-col gap-4">
<div class="flex flex-col gap-4 h-full">
<h1 class="font-bold text-3xl">Theme</h1>
<div class="flex items-center gap-4">
<Button
@@ -66,7 +66,7 @@
{#each svelteIntellisenseSucks() as category}
<Material class="flex flex-col gap-2">
<h1 class="capitalize font-semibold text-lg">{category}</h1>
<div class="flex flex-row gap-1 flex-wrap items-center justify-between">
<div class="flex flex-row gap-1 flex-wrap items-center space-evenly">
{#each Object.keys(c[category]) as shade}
<div class="flex flex-col gap-0.5 w-10 group">
<div
@@ -87,4 +87,17 @@
</Material>
{/each}
</div>
<div
class="flex items-center gap-2 sm:gap-8 flex-col sm:flex-row mt-auto mx-auto text-sm text-slate-600 dark:text-zinc-400"
>
<span>Slate is for light theme, Zinc is for dark</span>
<span>
You can share themes at <a
href="/c/photon@lemdro.id"
class="text-sky-600 dark:text-sky-500 hover:underline"
>
photon@lemdro.id
</a>
</span>
</div>
</div>