Prevent tab name text from being selectable (#67)

Add select-none to the tab container className, consistent with
how other interactive elements like dropdown menus are styled.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Wes
2026-04-01 15:24:44 -07:00
committed by GitHub
parent d3408296a6
commit 8d8a2fd3bd
+1 -1
View File
@@ -52,7 +52,7 @@ export function TabBar({
}
}}
className={cn(
"group flex h-7 cursor-pointer items-center gap-1.5 rounded-md pl-3 pr-1.5 text-xs transition-colors",
"group flex h-7 cursor-pointer select-none items-center gap-1.5 rounded-md pl-3 pr-1.5 text-xs transition-colors",
tab.id === activeTabId
? "bg-background-secondary text-foreground"
: "text-foreground-secondary hover:bg-background-secondary/50 hover:text-foreground",