@@ -64,7 +64,7 @@ export const CloudAccountSwitcher = () => {
6464 )
6565 } else if ( selectedOrgId ) {
6666 // Organization without logo
67- return < Building2 className = "w-4 h-4" />
67+ return < Building2 className = "w-4.5 h-4.5 " />
6868 } else if ( cloudUserInfo . picture ) {
6969 // Personal account with avatar
7070 return (
@@ -87,14 +87,15 @@ export const CloudAccountSwitcher = () => {
8787
8888 return (
8989 < StandardTooltip content = { t ( "cloud:switchAccount" ) } >
90- < div className = "inline-block" >
90+ < div className = "inline-block ml-1 " >
9191 < Select value = { currentValue } onValueChange = { handleOrganizationChange } disabled = { isLoading } >
9292 < SelectTrigger
9393 className = { cn (
94- "h-7 w-7 p-0 border -0 gap-0" ,
95- "bg-transparent hover:bg-vscode-list-hoverBackground " ,
94+ "h-4.5 w-4.5 p -0 gap-0" ,
95+ "bg-transparent opacity-90 hover:opacity-50 " ,
9696 "flex items-center justify-center" ,
97- "rounded" ,
97+ "rounded-lg overflow-clip" ,
98+ "border border-vscode-dropdown-border" ,
9899 "[&>svg]:hidden" , // Hide the default chevron/caret
99100 isLoading && "opacity-50" ,
100101 ) }
@@ -110,10 +111,10 @@ export const CloudAccountSwitcher = () => {
110111 < img
111112 src = { cloudUserInfo . picture }
112113 alt = { cloudUserInfo . name || cloudUserInfo . email }
113- className = "w-4 h-4 rounded-full object-cover"
114+ className = "w-4.5 h-4.5 rounded-full object-cover overflow-clip "
114115 />
115116 ) : (
116- < div className = "w-4 h-4 rounded-full flex items-center justify-center bg-vscode-button-background text-vscode-button-foreground text-xs" >
117+ < div className = "w-4.5 h-4.5 rounded-full flex items-center justify-center bg-vscode-button-background text-vscode-button-foreground text-xs" >
117118 { cloudUserInfo . name ?. charAt ( 0 ) || cloudUserInfo . email ?. charAt ( 0 ) || "?" }
118119 </ div >
119120 ) }
@@ -131,10 +132,10 @@ export const CloudAccountSwitcher = () => {
131132 < img
132133 src = { org . organization . image_url }
133134 alt = ""
134- className = "w-4 h-4 rounded object-cover"
135+ className = "w-4.5 h-4.5 rounded-full object-cover overflow-clip "
135136 />
136137 ) : (
137- < Building2 className = "w-4 h-4" />
138+ < Building2 className = "w-4.5 h-4.5 " />
138139 ) }
139140 < span className = "truncate" > { org . organization . name } </ span >
140141 </ div >
0 commit comments