fix text clipping around external embed's domain (#6012)

This commit is contained in:
Ben Harris
2024-11-01 15:15:44 -04:00
committed by GitHub
parent 2398b84d17
commit 5c5fc3230b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ export function ProfileHeaderHandle({
a.rounded_xs, a.rounded_xs,
{borderColor: t.palette.contrast_200}, {borderColor: t.palette.contrast_200},
] ]
: [a.text_md, a.leading_tight, t.atoms.text_contrast_medium], : [a.text_md, a.leading_snug, t.atoms.text_contrast_medium],
web({wordBreak: 'break-all'}), web({wordBreak: 'break-all'}),
]}> ]}>
{invalidHandle ? _(msg`⚠Invalid Handle`) : `@${profile.handle}`} {invalidHandle ? _(msg`⚠Invalid Handle`) : `@${profile.handle}`}
@@ -156,7 +156,7 @@ export const ExternalLinkEmbed = ({
style={[ style={[
a.transition_color, a.transition_color,
a.text_xs, a.text_xs,
a.leading_tight, a.leading_snug,
hovered hovered
? t.atoms.text_contrast_high ? t.atoms.text_contrast_high
: t.atoms.text_contrast_medium, : t.atoms.text_contrast_medium,