fix: avatars width setting

This commit is contained in:
2025-06-03 13:03:02 +02:00
parent 76d960619f
commit 243b7cce33
2 changed files with 2 additions and 6 deletions

View File

@ -12,9 +12,7 @@ const IndexPage: FC = () => {
return (
<div className="flex flex-col items-center gap-2 p-7">
<div className="w-24 h-24 sm:w-36 sm:h-36 overflow-hidden rounded-full flex items-center justify-center bg-gray-300">
<Avatar iconSize={64} />
</div>
<Avatar iconSize={64} className="w-24 h-24 sm:w-36 sm:h-36" />
<h1 className="dark:text-gray-200 text-gray-800 text-2xl select-none">
Welcome, {profile?.full_name}
</h1>

View File

@ -38,9 +38,7 @@ const PersonalInfoPage: FC = () => {
</p>
</div>
<div>
<div className="w-16 h-16 overflow-hidden rounded-full dark:bg-gray-400 bg-gray-700">
<Avatar iconSize={12} />
</div>
<Avatar iconSize={28} className="w-16 h-16" />
</div>
</div>