fix: detail page user-avatar size have unexpected height (#2576)

Co-authored-by: tyangs.yang <tyangs.yang@hstong.com>
This commit is contained in:
t.yang
2023-12-06 10:58:33 +08:00
committed by GitHub
parent aff1b47072
commit 055a327b5e
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ const UserProfile = () => {
<div className="w-full flex flex-row justify-start items-start">
<div className="flex-grow shrink w-full">
<div className="w-full flex flex-col justify-start items-center py-8">
<UserAvatar className="!w-20 h-20 mb-2 drop-shadow" avatarUrl={user?.avatarUrl} />
<UserAvatar className="!w-20 !h-20 mb-2 drop-shadow" avatarUrl={user?.avatarUrl} />
<p className="text-3xl text-black opacity-80 dark:text-gray-200">{user?.nickname}</p>
</div>
<MemoList />