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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user