From 868eea437e19d0822fb183de6ede9e89a2e5bf1a Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sun, 15 Nov 2026 17:04:48 -0800 Subject: [PATCH] style(tab-bar): match new-tab entry box height to standard 36px input (#42873) --- .../components/tab-bar/TabBarCreateEntry.tsx | 35 +++++++++---------- .../components/tab-bar/tab-bar-surface.tsx | 2 +- 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/src/renderer/src/components/tab-bar/TabBarCreateEntry.tsx b/src/renderer/src/components/tab-bar/TabBarCreateEntry.tsx index a2665ef1786..3a43294bb46 100644 --- a/src/renderer/src/components/tab-bar/TabBarCreateEntry.tsx +++ b/src/renderer/src/components/tab-bar/TabBarCreateEntry.tsx @@ -1,5 +1,6 @@ import React, { useEffect, useMemo, useRef, useState } from 'react' import { Input } from '@/components/ui/input' +import { cn } from '@/lib/class-names' import { useRuntimeFileListForWorktree } from '../quick-open-file-list' import { createTabEntryAllowAbsolutePathsSelector, @@ -275,9 +276,15 @@ function TabBarCreateEntrySession({ }) } + const hasStatusRows = Boolean( + error || switchError || selectionGuidance || (activeOptions.length > 0 && statusOption) + ) + const hasResultRows = !error && (activeOptions.length > 0 || hasQuery) + const hasBodyRows = hasStatusRows || hasResultRows + return (