Further titlebar tweaks

This commit is contained in:
Gregory Schier
2024-01-14 12:02:44 -08:00
parent 93cb469cb8
commit 488d66d248
2 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ function HeaderSize({ className, ...props }: HeaderSizeProps) {
className={classNames( className={classNames(
className, className,
'h-md pt-[1px] flex items-center w-full border-b', '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} {...props}
/> />
+2 -2
View File
@@ -36,9 +36,8 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
<div className="pointer-events-none"> <div className="pointer-events-none">
<RecentRequestsDropdown /> <RecentRequestsDropdown />
</div> </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 /> <SettingsDropdown />
</div>
{osInfo?.osType !== 'Darwin' && ( {osInfo?.osType !== 'Darwin' && (
<HStack className="ml-4" space={1} alignItems="center"> <HStack className="ml-4" space={1} alignItems="center">
<Button className="!text-gray-600 rounded-none" onClick={() => appWindow.minimize()}> <Button className="!text-gray-600 rounded-none" onClick={() => appWindow.minimize()}>
@@ -82,6 +81,7 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
</Button> </Button>
</HStack> </HStack>
)} )}
</div>
</HStack> </HStack>
); );
}); });