style: Make instance selector look like a section heading

Remove border, background, and shadow from the instance selector
dropdown so it visually matches the sidebar group labels. Keeps the
chevron as the only hint it's interactive.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-08 23:30:30 +00:00
parent 7c651bc992
commit 43f4d6d306

View File

@@ -72,7 +72,7 @@ export function InstanceSwitcher() {
if (isLoading) {
return (
<Select disabled value="">
<SelectTrigger className="h-8 text-sm">
<SelectTrigger className="h-8 text-xs font-medium border-0 shadow-none bg-transparent px-2 text-sidebar-foreground/70 hover:text-sidebar-foreground focus:ring-0">
<SelectValue placeholder="Loading..." />
</SelectTrigger>
</Select>
@@ -83,7 +83,7 @@ export function InstanceSwitcher() {
if (error) {
return (
<Select disabled value="">
<SelectTrigger className="h-8 text-sm">
<SelectTrigger className="h-8 text-xs font-medium border-0 shadow-none bg-transparent px-2 text-sidebar-foreground/70 hover:text-sidebar-foreground focus:ring-0">
<SelectValue placeholder="Error loading instances" />
</SelectTrigger>
</Select>
@@ -95,7 +95,7 @@ export function InstanceSwitcher() {
return (
<>
<Select disabled value="">
<SelectTrigger className="h-8 text-sm">
<SelectTrigger className="h-8 text-xs font-medium border-0 shadow-none bg-transparent px-2 text-sidebar-foreground/70 hover:text-sidebar-foreground focus:ring-0">
<SelectValue placeholder="No instances" />
</SelectTrigger>
</Select>
@@ -153,7 +153,7 @@ export function InstanceSwitcher() {
return (
<>
<Select value={instanceId || ''} onValueChange={handleInstanceChange}>
<SelectTrigger className="h-8 text-sm">
<SelectTrigger className="h-8 text-xs font-medium border-0 shadow-none bg-transparent px-2 text-sidebar-foreground/70 hover:text-sidebar-foreground focus:ring-0">
<SelectValue placeholder="Select instance" />
</SelectTrigger>
<SelectContent>