refactor: more tailwind css

This commit is contained in:
Tristan Yang
2023-02-03 08:32:38 +08:00
parent 8f3a6d868f
commit ad7ef9098d
2 changed files with 14 additions and 77 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const User: FC<Props> = ({ uid }) => {
<div className="px-3 py-2.5 invisible md:visible">
<NavLink to={`/setting?nav=my_account&f=${pathname}`}>
<div className="w-8 h-8">
<Avatar className=" object-cover w-full h-full" width={32} height={32} src={user.avatar} name={user.name} />
<Avatar className=" object-cover w-full h-full rounded-full" width={32} height={32} src={user.avatar} name={user.name} />
</div>
</NavLink>
</div>