feat: add #61
This commit is contained in:
1 parent
448c9e66e3
commit
19dbd4c338
4 files changed
+7
-8
No files matched your search
@@ -19,10 +19,9 @@
|
||||
</script>
|
||||
|
||||
<nav
|
||||
class="hidden lg:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
|
||||
gap-1 max-h-[calc(100vh-4rem)] w-full bg-slate-100 dark:bg-black"
|
||||
class:flex-1={expanded}
|
||||
class:w-max={!expanded}
|
||||
class="hidden sm:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
|
||||
gap-1 max-h-[calc(100vh-4rem)] w-full bg-slate-100 dark:bg-black
|
||||
{expanded ? 'w-1/4 resize-x min-w-[12rem] max-w-2xl' : 'w-max max-w-max'}"
|
||||
>
|
||||
<Button
|
||||
on:click={() => (expanded = !expanded)}
|
||||
|
||||
@@ -35,12 +35,12 @@
|
||||
<ToastContainer />
|
||||
<Moderation />
|
||||
<div
|
||||
class="flex flex-row h-full w-full max-w-full lg:divide-x dark:divide-zinc-900
|
||||
class="flex flex-row h-full w-full max-w-full sm:divide-x dark:divide-zinc-900
|
||||
divide-slate-200 flex-1"
|
||||
>
|
||||
<Sidebar />
|
||||
<main
|
||||
class="p-3 lg:p-6 min-w-0 w-full flex-[3] lg:rounded-tl-lg
|
||||
class="p-3 lg:p-6 min-w-0 w-full flex-[3] sm:rounded-tl-lg
|
||||
border-slate-200 dark:border-zinc-900 border-t"
|
||||
>
|
||||
<slot />
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// @ts-ignore
|
||||
import { build, files } from '$service-worker'
|
||||
|
||||
const version = '0.4.23'
|
||||
const version = '0.4.24'
|
||||
const timestamp = new Date().toLocaleString('en')
|
||||
const worker = self as unknown as ServiceWorkerGlobalScope
|
||||
const FILES = `cache${timestamp}`
|
||||
|
||||
Reference in new issue
Block a user