Skip to content

Commit

Permalink
fix text clipping around external embed's domain (#6012)
Browse files Browse the repository at this point in the history
  • Loading branch information
benharri authored Nov 1, 2024
1 parent 2398b84 commit 5c5fc32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/Profile/Header/Handle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function ProfileHeaderHandle({
a.rounded_xs,
{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'}),
]}>
{invalidHandle ? _(msg`⚠Invalid Handle`) : `@${profile.handle}`}
Expand Down
2 changes: 1 addition & 1 deletion src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const ExternalLinkEmbed = ({
style={[
a.transition_color,
a.text_xs,
a.leading_tight,
a.leading_snug,
hovered
? t.atoms.text_contrast_high
: t.atoms.text_contrast_medium,
Expand Down

0 comments on commit 5c5fc32

Please sign in to comment.