mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
🐛 Fixed comment reference snippet overflowing (#22275)
Ref https://linear.app/ghost/issue/DES-1106/support-escalation-re-ghostpro-comments-formatting-bug - The `Replied to: comment..` snippet can contain links that can overflow their container when they span multiple lines. Added `break-all` CSS to force text wrapping, ensuring links stay within boundaries.
This commit is contained in:
parent
80d358cfea
commit
fb0f9a2cf8
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ export const RepliedToSnippet: React.FC<{comment: Comment}> = ({comment}) => {
|
|||
|
||||
const linkToReply = inReplyToComment && inReplyToComment.status === 'published';
|
||||
|
||||
const className = 'font-medium text-neutral-900/60 transition-colors dark:text-white/70';
|
||||
const className = 'font-medium text-neutral-900/60 break-all transition-colors dark:text-white/70';
|
||||
|
||||
return (
|
||||
linkToReply
|
||||
|
|
Loading…
Add table
Reference in a new issue