From 1e034c70fc6015f8ba3187e59b84a932e9bfc2fb Mon Sep 17 00:00:00 2001
From: "LAPTOP-O016UC3M\\Qi Chen" <16399091+binaricat@users.noreply.github.com>
Date: Mon, 22 Dec 2025 14:07:01 +0800
Subject: [PATCH] Reduces tab and control heights for improved UI density
Decreases the height and padding of tabs, window controls, and related UI elements to create a more compact and visually dense interface. Enhances usability by allowing more content to fit within the available space, especially on smaller displays.
---
components/TopTabs.tsx | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/components/TopTabs.tsx b/components/TopTabs.tsx
index 240a926d3..40d8b1179 100644
--- a/components/TopTabs.tsx
+++ b/components/TopTabs.tsx
@@ -80,14 +80,14 @@ const WindowControls: React.FC = memo(() => {
-
+
{paneCount}
@@ -490,7 +490,7 @@ const TopTabsInner: React.FC = ({
data-tab-id={logView.id}
onClick={() => onSelectTab(logView.id)}
className={cn(
- "relative h-7 pl-3 pr-2 min-w-[140px] max-w-[240px] rounded-md border text-xs font-semibold cursor-pointer flex items-center justify-between gap-2 app-no-drag flex-shrink-0",
+ "relative h-6 pl-3 pr-2 min-w-[140px] max-w-[240px] rounded-md border text-xs font-semibold cursor-pointer flex items-center justify-between gap-2 app-no-drag flex-shrink-0",
"transition-all duration-200 ease-out",
isActive ? "bg-accent/20 text-foreground" : "border-border/60 text-muted-foreground hover:border-accent/40 hover:text-foreground"
)}
@@ -536,9 +536,9 @@ const TopTabsInner: React.FC = ({
onDoubleClick={handleTitleBarDoubleClick}
>
{/* Always-on drag stripe so the window can be moved even when tabs fill the bar */}
-
+
{/* Fixed left tabs: Vaults and SFTP */}
@@ -546,7 +546,7 @@ const TopTabsInner: React.FC = ({