diff --git a/src/components/TabBar.tsx b/src/components/TabBar.tsx index d262b05d8..52871d27d 100644 --- a/src/components/TabBar.tsx +++ b/src/components/TabBar.tsx @@ -121,7 +121,15 @@ function SortableTab({ ) return ( -
+
{activeTab ? (
+ return } /** Max pane-type icons shown per tab; panes beyond this fold into the '+N' badge. */ @@ -126,7 +126,7 @@ export default function TabItem({ ) return ( - + {groups.map((group) => ( {group.info && repoIconKeys.has(group.key) && ( @@ -158,7 +158,7 @@ export default function TabItem({ const tabContent = (
onRenameChange(e.target.value)} onBlur={onRenameBlur} @@ -209,14 +209,14 @@ export default function TabItem({ onClick={(e) => e.stopPropagation()} /> ) : ( - + {tab.title} )}