cleanup: switch to a css-based navbar (#491)

* cleanup: remove dock options and make adaptive by default

* cleanup: switch to css-based navbar

* feat: add auto hide option
This commit is contained in:
Xylight authored and GitHub committed 2025-02-16 19:12:58 -08:00
1 parent b5ce17308a
commit 10f0ed208f
17 files changed
+110 -261

No files matched your search

+2 -5
View File
@@ -22,7 +22,6 @@
import Header from '$lib/components/ui/layout/pages/Header.svelte'
import { t } from '$lib/translations'
import Tabs from '$lib/components/ui/layout/pages/Tabs.svelte'
import { contentPadding } from '$lib/components/ui/layout/Shell.svelte'
import { expoOut } from 'svelte/easing'
let { data } = $props()
@@ -82,8 +81,7 @@
<div class=" gap-2">
<div
class="mt-4 mb-0 sticky z-30 mx-auto max-w-full flex gap-2 md:flex-row flex-col
items-center px-2 w-max"
style="top: max(1.5rem, {$contentPadding.top}px);"
items-center px-2 w-max top-6 lg:top-22"
>
<Tabs
routes={[
@@ -195,8 +193,7 @@ items-center px-2 w-max"
{/if}
{#if !(data.page == 1 && (data?.data?.length ?? 0) == 0)}
<div
class="sticky z-30 mx-auto max-w-full self-end mt-auto"
style="bottom: max(1.5rem, {$contentPadding.bottom}px);"
class="sticky z-30 mx-auto max-w-full self-end mt-auto bottom-22 lg:bottom-6"
>
<Tabs routes={[]} class="mx-auto">
<Pageination