impr: optimize navbar elements+fix: horizontal scrollbar on chromium (#605)

This commit is contained in:
Xylight authored and GitHub committed 2025-07-08 21:47:20 +00:00
1 parent 9d0aa878ca
commit 47418e735c
9 files changed
+71 -114

No files matched your search

+3 -3
View File
@@ -17,18 +17,18 @@
UserGroup,
} from 'svelte-hero-icons'
import EndPlaceholder from '../EndPlaceholder.svelte'
import type { ClassValue } from 'svelte/elements'
interface Props {
style?: string
class?: string
class?: ClassValue
}
let { style = '', class: clazz = '' }: Props = $props()
</script>
<nav
class="flex flex-col p-4 overflow-auto
gap-1 h-fit max-h-screen {clazz}"
class={['flex flex-col p-4 overflow-auto gap-1 h-fit max-h-screen', clazz]}
{style}
>
{#if profile.data?.jwt}