@@ -20,7 +20,6 @@ import {
2020 IconButton ,
2121 Stack ,
2222 Text ,
23- Tooltip ,
2423} from '@primer/react' ;
2524
2625import { Header } from '../components/primitives/Header' ;
@@ -88,51 +87,54 @@ export const AccountsRoute: FC = () => {
8887 className = "rounded-md bg-gray-100 p-2 pb-0 dark:bg-gray-sidebar"
8988 >
9089 < Stack direction = "vertical" gap = "none" >
91- < Tooltip text = "Open profile" direction = "se" >
92- < Button
93- onClick = { ( ) => openAccountProfile ( account ) }
94- data-testid = "account-profile"
90+ < Button
91+ title = "Open account profile"
92+ onClick = { ( ) => openAccountProfile ( account ) }
93+ data-testid = "account-profile"
94+ sx = { { width : 'fit-content' } }
95+ >
96+ < Stack
97+ direction = "horizontal"
98+ gap = "condensed"
99+ align = "center"
95100 >
96- < Stack
97- direction = "horizontal"
98- gap = "condensed"
99- align = "center"
100- >
101- < Avatar src = { account . user . avatar } size = { Size . XLARGE } />
102- < Text > @{ account . user . login } </ Text >
103- < span className = "text-xs italic" >
104- ({ account . user ?. name } )
105- </ span >
106- </ Stack >
107- </ Button >
108- </ Tooltip >
109-
110- < Stack direction = "horizontal" gap = "condensed" align = "start" >
101+ < Avatar src = { account . user . avatar } size = { Size . XLARGE } />
102+ < Text > @{ account . user . login } </ Text >
103+ < span className = "text-xs italic" >
104+ ({ account . user ?. name } )
105+ </ span >
106+ </ Stack >
107+ </ Button >
108+
109+ < Stack
110+ direction = "horizontal"
111+ gap = "condensed"
112+ align = "start"
113+ justify = "space-between"
114+ >
111115 < Stack direction = "vertical" gap = "none" >
112116 < ActionList variant = "inset" >
113- < Tooltip text = "Open Host" direction = "e" >
114- < ActionList . Item
115- onSelect = { ( ) => openHost ( account . hostname ) }
116- data-testid = "account-host"
117- >
118- < ActionList . LeadingVisual >
119- < PlatformIcon />
120- </ ActionList . LeadingVisual >
121- < span className = "text-xs" > { account . hostname } </ span >
122- </ ActionList . Item >
123- </ Tooltip >
124-
125- < Tooltip text = "Open Developer Settings" direction = "e" >
126- < ActionList . Item
127- onSelect = { ( ) => openDeveloperSettings ( account ) }
128- data-testid = "account-developer-settings"
129- >
130- < ActionList . LeadingVisual >
131- < AuthMethodIcon />
132- </ ActionList . LeadingVisual >
133- < span className = "text-xs" > { account . method } </ span >
134- </ ActionList . Item >
135- </ Tooltip >
117+ < ActionList . Item
118+ title = "Open host"
119+ onSelect = { ( ) => openHost ( account . hostname ) }
120+ data-testid = "account-host"
121+ >
122+ < ActionList . LeadingVisual >
123+ < PlatformIcon />
124+ </ ActionList . LeadingVisual >
125+ < span className = "text-xs" > { account . hostname } </ span >
126+ </ ActionList . Item >
127+
128+ < ActionList . Item
129+ title = "Open developer settings"
130+ onSelect = { ( ) => openDeveloperSettings ( account ) }
131+ data-testid = "account-developer-settings"
132+ >
133+ < ActionList . LeadingVisual >
134+ < AuthMethodIcon />
135+ </ ActionList . LeadingVisual >
136+ < span className = "text-xs" > { account . method } </ span >
137+ </ ActionList . Item >
136138 </ ActionList >
137139 </ Stack >
138140
0 commit comments