feat: add #61
This commit is contained in:
1 parent
448c9e66e3
commit
19dbd4c338
4 files changed
+7
-8
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "photon-lemmy",
|
"name": "photon-lemmy",
|
||||||
"version": "0.4.23",
|
"version": "0.4.24",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
|
|||||||
@@ -19,10 +19,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav
|
<nav
|
||||||
class="hidden lg:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
|
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"
|
gap-1 max-h-[calc(100vh-4rem)] w-full bg-slate-100 dark:bg-black
|
||||||
class:flex-1={expanded}
|
{expanded ? 'w-1/4 resize-x min-w-[12rem] max-w-2xl' : 'w-max max-w-max'}"
|
||||||
class:w-max={!expanded}
|
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
on:click={() => (expanded = !expanded)}
|
on:click={() => (expanded = !expanded)}
|
||||||
|
|||||||
@@ -35,12 +35,12 @@
|
|||||||
<ToastContainer />
|
<ToastContainer />
|
||||||
<Moderation />
|
<Moderation />
|
||||||
<div
|
<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"
|
divide-slate-200 flex-1"
|
||||||
>
|
>
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
<main
|
<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"
|
border-slate-200 dark:border-zinc-900 border-t"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { build, files } from '$service-worker'
|
import { build, files } from '$service-worker'
|
||||||
|
|
||||||
const version = '0.4.23'
|
const version = '0.4.24'
|
||||||
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