Skip to content

Commit

Permalink
fix: avatar size
Browse files Browse the repository at this point in the history
  • Loading branch information
rharkor committed Feb 17, 2024
1 parent 11512fc commit 58b87d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/components/locale-switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ export default function LocaleSwitcher({ lang }: { lang: Locale }) {
}}
className="w-[150px]"
aria-label={localesDetailed[lang].nativeName}
startContent={<Avatar alt={lang} className="size-4 shrink-0" src={localesDetailed[lang].flag} />}
startContent={<Avatar alt={lang} className="!size-4 shrink-0" src={localesDetailed[lang].flag} />}
size="sm"
selectionMode="single"
>
{Object.entries(localesDetailed).map(([locale, details]) => (
<SelectItem
key={locale}
value={locale}
startContent={<Avatar alt={locale} className="size-6" src={details.flag} />}
startContent={<Avatar alt={locale} className="!size-6" src={details.flag} />}
>
{details.nativeName}
</SelectItem>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/profile/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function UpdateAvatar({ account }: { account: ReturnType<typeof u
<div className={cn("group relative h-20 w-20 rounded-full")}>
<Skeleton isLoaded={!account.isInitialLoading} className={cn("rounded-full")}>
<Avatar
className="text-large size-20"
className="text-large !size-20"
src={getImageUrl(account.data?.user.image) || undefined}
name={account.data?.user.username || undefined}
onClick={() => setShowModal(true)}
Expand Down

0 comments on commit 58b87d6

Please sign in to comment.