adjust offset on macos

This commit is contained in:
Eduard Gert
2026-06-15 16:27:44 +02:00
parent c37f24d1b0
commit 28d85ecae3

View File

@@ -5,7 +5,7 @@ import { SquareIcon } from "@/components/SquareIcon";
import { isMacOS } from "@/lib/platform";
// Knob to shift the centered main-window content up/down together.
export const contentVerticalOffset = (): string => (isMacOS() ? "0rem" : "-1.4rem");
export const contentVerticalOffset = (): string => (isMacOS() ? "0.6rem" : "-1.4rem");
export const contentTop = (base: string) => `calc(${base} + ${contentVerticalOffset()})`;
type Props = {