fix: profile pic dimension bug fix (#2449)

This commit is contained in:
Anmol Singh Bhatia 2023-10-17 12:15:46 +05:30 committed by GitHub
parent 7f06d5a30d
commit 8cd13e94d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ export const IssueActivitySection: React.FC<Props> = ({
alt={activityItem.actor_detail.display_name} alt={activityItem.actor_detail.display_name}
height={24} height={24}
width={24} width={24}
className="rounded-full" className="rounded-full h-full w-full object-cover"
/> />
) : ( ) : (
<div <div

View File

@ -86,7 +86,7 @@ export const ProfileSidebar = () => {
<img <img
src={userProjectsData.user_data.avatar} src={userProjectsData.user_data.avatar}
alt={userProjectsData.user_data.display_name} alt={userProjectsData.user_data.display_name}
className="rounded" className="rounded h-full w-full object-cover"
/> />
) : ( ) : (
<div className="bg-custom-background-90 flex justify-center items-center w-[52px] h-[52px] rounded text-custom-text-100"> <div className="bg-custom-background-90 flex justify-center items-center w-[52px] h-[52px] rounded text-custom-text-100">

View File

@ -133,7 +133,7 @@ export const IssueActivity: React.FC<Props> = (props) => {
alt={activityItem.actor_detail.display_name} alt={activityItem.actor_detail.display_name}
height={24} height={24}
width={24} width={24}
className="rounded-full" className="rounded-full h-full w-full object-cover"
/> />
) : ( ) : (
<div <div

View File

@ -149,7 +149,7 @@ const ProfileActivity = () => {
alt={activityItem.actor_detail.display_name} alt={activityItem.actor_detail.display_name}
height={24} height={24}
width={24} width={24}
className="rounded-full" className="rounded-full h-full w-full object-cover"
/> />
) : ( ) : (
<div <div