impr: optimize navbar elements+fix: horizontal scrollbar on chromium (#605)
This commit is contained in:
1 parent
9d0aa878ca
commit
47418e735c
9 files changed
+71
-114
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user