Further titlebar tweaks

This commit is contained in:
Gregory Schier
2024-01-14 12:02:44 -08:00
parent b60bc091b8
commit 218b593bfa
2 changed files with 45 additions and 45 deletions

View File

@@ -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}
/>

View File

@@ -36,9 +36,8 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
<div className="pointer-events-none">
<RecentRequestsDropdown />
</div>
<div className="flex-1 flex justify-end -mr-2 pointer-events-none">
<div className="flex-1 flex items-center h-full justify-end pointer-events-none">
<SettingsDropdown />
</div>
{osInfo?.osType !== 'Darwin' && (
<HStack className="ml-4" space={1} alignItems="center">
<Button className="!text-gray-600 rounded-none" onClick={() => appWindow.minimize()}>
@@ -82,6 +81,7 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
</Button>
</HStack>
)}
</div>
</HStack>
);
});