From 74294d7200bc2df7efd87aa2f463352c968e7034 Mon Sep 17 00:00:00 2001 From: Aaron Iker Date: Thu, 8 Jan 2026 05:09:14 +0100 Subject: [PATCH] fix: web spacing macos --- packages/app/src/components/toolbar/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/app/src/components/toolbar/index.tsx b/packages/app/src/components/toolbar/index.tsx index f264468615..dd7b649452 100644 --- a/packages/app/src/components/toolbar/index.tsx +++ b/packages/app/src/components/toolbar/index.tsx @@ -4,6 +4,7 @@ import { Icon } from "@opencode-ai/ui/icon" import type { Component, ComponentProps } from "solid-js" import { useLayout } from "@/context/layout" import { useCommand } from "@/context/command" +import { usePlatform } from "@/context/platform" const IS_MAC = typeof navigator === "object" && /(Mac|iPod|iPhone|iPad)/.test(navigator.platform) @@ -12,13 +13,14 @@ export const TOOLBAR_PORTAL_ID = "toolbar-content-portal" export const Toolbar: Component> = ({ class: className, ...props }) => { const command = useCommand() + const platform = usePlatform() const layout = useLayout() return (