mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Better license badge placement
This commit is contained in:
@@ -23,7 +23,7 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
|
|||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
className,
|
className,
|
||||||
'grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center w-full h-full',
|
'grid grid-cols-[auto_minmax(0,1fr)_auto] items-center w-full h-full',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<HStack space={0.5} className="flex-1 pointer-events-none">
|
<HStack space={0.5} className="flex-1 pointer-events-none">
|
||||||
@@ -35,10 +35,11 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
|
|||||||
<EnvironmentActionsDropdown className="w-auto pointer-events-auto" />
|
<EnvironmentActionsDropdown className="w-auto pointer-events-auto" />
|
||||||
</HStack>
|
</HStack>
|
||||||
</HStack>
|
</HStack>
|
||||||
<div className="pointer-events-none w-full max-w-[30vw] mx-auto">
|
<div className="pointer-events-none w-full max-w-[30vw] mx-auto flex justify-center">
|
||||||
<RecentRequestsDropdown />
|
<RecentRequestsDropdown />
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-1 flex gap-1 items-center h-full justify-end pointer-events-none pr-1">
|
<div className="flex-1 flex gap-1 items-center h-full justify-end pointer-events-none pr-1">
|
||||||
|
<LicenseBadge />
|
||||||
<ImportCurlButton />
|
<ImportCurlButton />
|
||||||
<IconButton
|
<IconButton
|
||||||
icon="search"
|
icon="search"
|
||||||
@@ -47,7 +48,6 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
|
|||||||
onClick={togglePalette}
|
onClick={togglePalette}
|
||||||
/>
|
/>
|
||||||
<SettingsDropdown />
|
<SettingsDropdown />
|
||||||
<LicenseBadge />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user