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 -4
View File
@@ -84,9 +84,8 @@ interface Settings {
piped: string | undefined
}
dock: {
noGap: boolean | null
top: boolean | null
paletteHotkey: string
autoHide: boolean
}
posts: {
deduplicateEmbed: boolean
@@ -164,9 +163,8 @@ export const defaultSettings: Settings = {
piped: undefined,
},
dock: {
noGap: toBool(env.PUBLIC_DOCK_PANEL) ?? null,
top: toBool(env.PUBLIC_DOCK_TOP) ?? null,
paletteHotkey: '/',
autoHide: true,
},
posts: {
deduplicateEmbed: toBool(env.PUBLIC_DEDUPLICATE_EMBED) ?? true,