Add four-icon mobile bottom Dock with recent sections

This commit is contained in:
SantaSpeen committed 2026-12-02 14:56:04 +03:00
1 parent c3257a0f4d
commit 03c590e172
20 files changed
+547 -5

No files matched your search

+2
View File
@@ -1,3 +1,4 @@
import { mobileDockQuery } from "./mobile-dock.js";
/** One document-wide Dock shell. The host owns routes and active nav items. */
export function mountDock({
navigation,
@@ -77,6 +78,7 @@ export function mountDock({
clearTimeout(timer);
if (
e.pointerType === "mouse" &&
!matchMedia(mobileDockQuery).matches &&
matchMedia("(hover:hover) and (pointer:fine)").matches
)
setOpen(true);