fix(webui): treat iPad and hybrid pointers as touch chrome

A mouse on iPad is still a coarse pointer. Use the sheet layout,
show the custom cursor only after a real mouse move, and keep
theme and wallpaper changes from hanging the page.
This commit is contained in:
DrSmoothl committed 2026-09-19 16:30:11 +08:00
1 parent 0ef9f9475c
commit b60b1a419c
12 files changed
+98 -59

No files matched your search

@@ -51,7 +51,7 @@ export function TopBar({
);
return (
<header className="sticky top-0 z-30 flex h-16 shrink-0 items-center gap-[4px] bg-background/55 px-[10px] backdrop-blur-xl backdrop-saturate-150 supports-[backdrop-filter]:bg-background/45 md:gap-2 md:px-4">
<header className="z-30 flex min-h-16 shrink-0 items-center gap-[4px] bg-background px-[max(10px,env(safe-area-inset-left))] pr-[max(1rem,env(safe-area-inset-right))] pt-[env(safe-area-inset-top)] md:gap-2 md:px-4">
{/* Mobile-only menu trigger. On desktop there's no collapse button — the
sidebar auto-expands on hover/focus, and its boundary with the content
is a soft surface-tone shift, not a hard border. */}