mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 17:28:29 +02:00
Fix styles
This commit is contained in:
@@ -31,6 +31,7 @@ export function ProxyLayout() {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<HeaderSize
|
<HeaderSize
|
||||||
|
data-tauri-drag-region
|
||||||
size="lg"
|
size="lg"
|
||||||
osType={os}
|
osType={os}
|
||||||
hideWindowControls={false}
|
hideWindowControls={false}
|
||||||
@@ -38,8 +39,8 @@ export function ProxyLayout() {
|
|||||||
interfaceScale={1}
|
interfaceScale={1}
|
||||||
className="x-theme-appHeader bg-surface"
|
className="x-theme-appHeader bg-surface"
|
||||||
>
|
>
|
||||||
<div className="grid grid-cols-[auto_minmax(0,1fr)_auto]">
|
<div className="grid grid-cols-[auto_minmax(0,1fr)_auto] items-center w-full h-full pointer-events-none">
|
||||||
<div className="flex items-center pl-1">
|
<div className="flex items-center pl-1 pointer-events-auto">
|
||||||
<IconButton
|
<IconButton
|
||||||
size="sm"
|
size="sm"
|
||||||
title="Toggle sidebar"
|
title="Toggle sidebar"
|
||||||
@@ -54,10 +55,10 @@ export function ProxyLayout() {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div data-tauri-drag-region className="flex items-center text-sm px-2">
|
<div data-tauri-drag-region className="pointer-events-none flex items-center text-sm px-2">
|
||||||
Yaak Proxy
|
Yaak Proxy
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-1 pr-1">
|
<div className="flex items-center gap-1 pr-1 pointer-events-auto">
|
||||||
<span
|
<span
|
||||||
className={classNames('text-xs', isRunning ? 'text-success' : 'text-text-subtlest')}
|
className={classNames('text-xs', isRunning ? 'text-success' : 'text-text-subtlest')}
|
||||||
>
|
>
|
||||||
@@ -101,7 +102,7 @@ export function ProxyLayout() {
|
|||||||
<HeaderSize
|
<HeaderSize
|
||||||
hideControls
|
hideControls
|
||||||
size="lg"
|
size="lg"
|
||||||
className="border-transparent flex items-center pl-1"
|
className="border-transparent pl-1"
|
||||||
osType={os}
|
osType={os}
|
||||||
hideWindowControls={false}
|
hideWindowControls={false}
|
||||||
useNativeTitlebar={false}
|
useNativeTitlebar={false}
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export function HeaderSize({
|
|||||||
className={classNames(
|
className={classNames(
|
||||||
className,
|
className,
|
||||||
'pt-[1px]', // Make up for bottom border
|
'pt-[1px]', // Make up for bottom border
|
||||||
'select-none relative',
|
'select-none relative flex items-center',
|
||||||
'w-full border-b border-border-subtle min-w-0',
|
'w-full border-b border-border-subtle min-w-0',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user