fix(ui): rectangular avatars getting stretched (#2782)

This commit is contained in:
Samuel Bartík
2022-05-25 18:42:17 +02:00
committed by GitHub
parent 90095bb185
commit db05172d8b
10 changed files with 13 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ const UserDropdown: React.FC = () => {
onClick={() => setDropdownOpen(true)}
>
<img
className="h-8 w-8 rounded-full sm:h-10 sm:w-10"
className="h-8 w-8 rounded-full object-cover sm:h-10 sm:w-10"
src={user?.avatar}
alt=""
/>