mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-08 22:05:16 +02:00
Further titlebar tweaks
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -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>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user