fix(ui): remove sidebar collapse footer and unify header control heights
Build and Deploy / build-and-push (push) Successful in 52s

This commit is contained in:
2026-07-26 16:27:24 +08:00
parent 88ca62b6c0
commit eb8df6de0f
3 changed files with 22 additions and 40 deletions
+2 -2
View File
@@ -76,10 +76,10 @@ export function NodeSwitcher() {
return (
<div
className={cn(
'inline-flex h-8 max-w-[150px] items-center gap-1 rounded-md border px-2 text-[11px]',
'inline-flex h-8 max-w-[150px] shrink-0 items-center gap-1 rounded-md border px-2 text-[11px] leading-none',
selected !== 'local'
? 'border-amber-500/30 bg-amber-500/10 text-amber-600 dark:text-amber-400'
: 'border-[var(--border)] bg-[var(--bg-secondary)] text-[var(--text-secondary)]',
: 'border-[var(--border)] bg-[var(--bg-primary)] text-[var(--text-secondary)]',
)}
>
<MonitorDot size={12} className="shrink-0" />