0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Truncated long author and tag names

This commit is contained in:
Sanne de Vries 2022-07-06 15:35:45 +02:00
parent 85c7e5c984
commit 5114157564

View file

@ -187,7 +187,7 @@ function TagListItem({tag}) {
}} }}
> >
<p className='mr-2 text-sm font-bold text-neutral-400'>#</p> <p className='mr-2 text-sm font-bold text-neutral-400'>#</p>
<h2 className='text-[1.65rem] font-medium leading-tight text-neutral-900'>{name}</h2> <h2 className='text-[1.65rem] font-medium leading-tight text-neutral-900 truncate'>{name}</h2>
</div> </div>
); );
} }
@ -269,7 +269,7 @@ function AuthorListItem({author}) {
}} }}
> >
<AuthorAvatar name={name} avatar={profileImage} /> <AuthorAvatar name={name} avatar={profileImage} />
<h2 className='text-[1.65rem] font-medium leading-tight text-neutral-900'>{name}</h2> <h2 className='text-[1.65rem] font-medium leading-tight text-neutral-900 truncate'>{name}</h2>
</div> </div>
); );
} }