fix: community card not sticking
This commit is contained in:
1 parent
850d2b480d
commit
94a709fea9
4 files changed
+8
-10
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "photon-lemmy",
|
"name": "photon-lemmy",
|
||||||
"version": "0.4.11",
|
"version": "0.4.12",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<aside
|
<aside
|
||||||
class="sticky top-0 break-words flex
|
class="sticky top-16 break-words flex
|
||||||
flex-col gap-4 p-6 w-96 max-h-[calc(100vh-4rem)]
|
flex-col gap-4 p-6 w-96 max-h-[calc(100vh-4rem)]
|
||||||
overflow-auto text-sm border-l border-slate-200 dark:border-zinc-800 {$$props.class}"
|
overflow-auto text-sm border-l border-slate-200 dark:border-zinc-800 {$$props.class}"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -65,13 +65,11 @@
|
|||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<div
|
<main
|
||||||
class="flex-[3] xl:rounded-tl-lg
|
class="p-4 min-w-0 w-full flex-[3] xl:rounded-tl-lg
|
||||||
border-slate-200 dark:border-zinc-900 border-t overflow-auto"
|
border-slate-200 dark:border-zinc-900 border-t"
|
||||||
>
|
>
|
||||||
<main class="p-4 min-w-0 w-full">
|
<slot />
|
||||||
<slot />
|
</main>
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { build, files } from '$service-worker'
|
import { build, files } from '$service-worker'
|
||||||
|
|
||||||
const version = '0.4.11'
|
const version = '0.4.12'
|
||||||
const timestamp = new Date().toLocaleString('en')
|
const timestamp = new Date().toLocaleString('en')
|
||||||
const worker = self as unknown as ServiceWorkerGlobalScope
|
const worker = self as unknown as ServiceWorkerGlobalScope
|
||||||
const FILES = `cache${timestamp}`
|
const FILES = `cache${timestamp}`
|
||||||
|
|||||||
Reference in new issue
Block a user