From 748401e1d405c1f997a621bd1eccf2c445e74e7c Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 15 Jun 2026 08:29:29 +0100 Subject: [PATCH] fix(base): render view-tab rename as an inline pill so the tab band height stays put --- .../ee/base/components/views/view-tabs.tsx | 38 ++++++++++++++----- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/apps/client/src/ee/base/components/views/view-tabs.tsx b/apps/client/src/ee/base/components/views/view-tabs.tsx index fb5119773..8452b1f8f 100644 --- a/apps/client/src/ee/base/components/views/view-tabs.tsx +++ b/apps/client/src/ee/base/components/views/view-tabs.tsx @@ -288,15 +288,35 @@ function ViewTab({ if (isEditing) { return ( - onRenameChange(e.currentTarget.value)} - onBlur={onRenameCommit} - onKeyDown={onRenameKeyDown} - autoFocus - /> +
+ onRenameChange(e.currentTarget.value)} + onBlur={onRenameCommit} + onKeyDown={onRenameKeyDown} + autoFocus + styles={{ + input: { + height: "auto", + minHeight: 0, + padding: 0, + width: 100, + fontSize: "var(--mantine-font-size-sm)", + lineHeight: 1.2, + }, + }} + /> +
); }