Skip to content

Commit ae74753

Browse files
authored
Fixed avatar aspect ratio in add details popup (TryGhost#27832)
Closes https://linear.app/ghost/issue/DES-1373/oss-issue-ui-avatar-aspect-ratio-on-comments-due-to-expertise and TryGhost#27795 Ensures that avatars retain their aspect ratio when expertise wrap over more than 1 line.
1 parent 4f3f33a commit ae74753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/comments-ui/src/components/popups/add-details-popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const AddDetailsPopup = (props: Props) => {
8080
appear
8181
>
8282
<div className="flex flex-row items-center justify-start gap-3 pr-4">
83-
<div className="size-10 rounded-full border-2 border-white bg-cover bg-no-repeat" style={{backgroundImage: `url(${profile.avatar})`}} />
83+
<div className="size-10 shrink-0 rounded-full border-2 border-white bg-cover bg-no-repeat" style={{backgroundImage: `url(${profile.avatar})`}} />
8484
<div className="flex flex-col items-start justify-center">
8585
<div className="font-sans text-base font-semibold tracking-tight text-white">
8686
{profile.name}

0 commit comments

Comments
 (0)