From 218b593bfa1903cb8c011f6a155ccffe65953b64 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 14 Jan 2024 12:02:44 -0800 Subject: [PATCH] Further titlebar tweaks --- src-web/components/Workspace.tsx | 2 +- src-web/components/WorkspaceHeader.tsx | 88 +++++++++++++------------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src-web/components/Workspace.tsx b/src-web/components/Workspace.tsx index a4049e80..f50c65ec 100644 --- a/src-web/components/Workspace.tsx +++ b/src-web/components/Workspace.tsx @@ -178,7 +178,7 @@ function HeaderSize({ className, ...props }: HeaderSizeProps) { className={classNames( className, 'h-md pt-[1px] flex items-center w-full border-b', - platform?.osType === 'Darwin' ? 'pl-20 pr-3' : 'pl-1', + platform?.osType === 'Darwin' ? 'pl-20 pr-1' : 'pl-1', )} {...props} /> diff --git a/src-web/components/WorkspaceHeader.tsx b/src-web/components/WorkspaceHeader.tsx index 49a80abc..ebc6d5b7 100644 --- a/src-web/components/WorkspaceHeader.tsx +++ b/src-web/components/WorkspaceHeader.tsx @@ -36,52 +36,52 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
-
+
+ {osInfo?.osType !== 'Darwin' && ( + + + + + + )}
- {osInfo?.osType !== 'Darwin' && ( - - - - - - )} ); });