mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 11:56:38 +00:00
Adjust button and add profile translations
This commit is contained in:
@@ -41,13 +41,15 @@ export default function LocaleSwitcherSelect({
|
||||
<Button
|
||||
variant="ghost"
|
||||
className={clsx(
|
||||
'rounded-sm p-2 transition-colors flex items-center gap-2',
|
||||
'w-full rounded-sm h-8 gap-2 justify-start font-normal',
|
||||
isPending && 'pointer-events-none'
|
||||
)}
|
||||
aria-label={label}
|
||||
>
|
||||
<Languages className="h-4 w-4" />
|
||||
<span >{selected?.label ?? label}</span>
|
||||
<span className="text-left flex-1">
|
||||
{selected?.label ?? label}
|
||||
</span>
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end" className="min-w-[8rem]">
|
||||
|
||||
Reference in New Issue
Block a user