0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Fixed distorted images in the drawer in ActivityPub (#22428)

ref AP-848
This commit is contained in:
Sodbileg Gansukh 2025-03-11 13:17:49 +08:00 committed by GitHub
parent 420dddd19c
commit 1dc760429f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -371,7 +371,7 @@ const FeedItem: React.FC<FeedItemProps> = ({
</div>
</div></>}
<div className={`relative z-10 col-start-1 col-end-3 w-full gap-4`}>
<div className='flex flex-col'>
<div className='flex flex-col items-start'>
{object.name && <Heading className='mb-1 leading-tight' level={4} data-test-activity-heading>{object.name}</Heading>}
<div dangerouslySetInnerHTML={({__html: object.content ?? ''})} className='ap-note-content-large text-pretty text-[1.6rem] tracking-[-0.011em] text-gray-900 dark:text-gray-600'></div>
{renderFeedAttachment(object, layout)}