Terminal tabs: a short title keeps a select target wider than its close button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 02:27:40 +00:00
parent a60ca4cc4e
commit 9c6fdc9043
@@ -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(