From 9c6fdc90438aa4d2e461ab11ebcf09a8dfc0e6ed Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Thu, 26 Nov 2026 02:27:40 +0000 Subject: [PATCH] Terminal tabs: a short title keeps a select target wider than its close button Co-Authored-By: Claude Opus 5.5 --- app/lib/features/terminal/terminal_tab_chip.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/lib/features/terminal/terminal_tab_chip.dart b/app/lib/features/terminal/terminal_tab_chip.dart index 2edecfcc..020de225 100644 --- a/app/lib/features/terminal/terminal_tab_chip.dart +++ b/app/lib/features/terminal/terminal_tab_chip.dart @@ -81,7 +81,10 @@ class TerminalTabChip extends StatelessWidget { end: 4, ), child: ConstrainedBox( + // A short title such as `~` still leaves a select + // target wider than the close button beside it. constraints: const BoxConstraints( + minWidth: kMinInteractiveDimension, maxWidth: terminalTabTitleMaxWidth, ), child: Row(