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:
@@ -81,7 +81,10 @@ class TerminalTabChip extends StatelessWidget {
|
|||||||
end: 4,
|
end: 4,
|
||||||
),
|
),
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
|
// A short title such as `~` still leaves a select
|
||||||
|
// target wider than the close button beside it.
|
||||||
constraints: const BoxConstraints(
|
constraints: const BoxConstraints(
|
||||||
|
minWidth: kMinInteractiveDimension,
|
||||||
maxWidth: terminalTabTitleMaxWidth,
|
maxWidth: terminalTabTitleMaxWidth,
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
|||||||
Reference in New Issue
Block a user