An open-source, self-hosted system for apps built with web technologies.
Use Tailwind for start menu geometry
zohayrslilehe9fbab1517cf
diff --git a/source/client/view2/structure/desktop/taskbar/launcher/start-menu.tsx b/source/client/view2/structure/desktop/taskbar/launcher/start-menu.tsxindex b567639..3162247 100644--- a/source/client/view2/structure/desktop/taskbar/launcher/start-menu.tsx+++ b/source/client/view2/structure/desktop/taskbar/launcher/start-menu.tsx@@ -1,25 +1,16 @@import { Surface } from "@heroui/react"-import { CSSProperties } from "react"-const position = {-- positionAnchor: "--desktop-taskbar",-- top: "auto",-- right: "auto",-- bottom: "auto",+export default function ({ id }: { id: string }) {- left: "auto",+ return <Surface- insetBlockEnd: "calc(anchor(top) + var(--spacing) * 2.5)",+ id={id}- insetInlineStart: "anchor(start)"+ popover="auto"-} satisfies CSSProperties+ aria-label="Start Menu"-export default function ({ id }: { id: string }) {+ className="inset-auto inset-be-[calc(anchor(top)+var(--spacing)*2.5)] inset-s-[anchor(start)] m-0 size-80 rounded-lg border-0 p-0 outline-none [position-anchor:--desktop-taskbar]"- return <Surface id={id} popover="auto" aria-label="Start Menu" style={position} className="m-0 size-80 rounded-lg border-0 p-0 outline-none">{null}</Surface>+ >{null}</Surface>}