AccountSwitcher: don't shrink for no reason on mobile

This commit is contained in:
Alex Gleason committed 2025-09-13 17:58:00 -05:00
1 parent ba62a139e2
commit 022efa74c3
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ export function AccountSwitcher({ onAddAccountClick }: AccountSwitcherProps) {
<AvatarImage src={currentUser.metadata.picture} alt={getDisplayName(currentUser)} />
<AvatarFallback>{getDisplayName(currentUser).charAt(0)}</AvatarFallback>
</Avatar>
<div className='flex-1 text-left hidden md:block truncate'>
<div className='flex-1 text-left truncate'>
<p className='font-medium text-sm truncate'>{getDisplayName(currentUser)}</p>
</div>
<ChevronDown className='w-4 h-4 text-muted-foreground' />