mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user