about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2024-11-01 15:15:44 -0400
committerGitHub <noreply@github.com>2024-11-01 12:15:44 -0700
commit5c5fc3230b45abc2946d8c3a45a1336e65478edd (patch)
treeea35892360d5d6f7d7f3f63fc22a892af57aaf2d /src
parent2398b84d1740cde9d8703801cd57e7044ae6aabb (diff)
downloadvoidsky-5c5fc3230b45abc2946d8c3a45a1336e65478edd.tar.zst
fix text clipping around external embed's domain (#6012)
Diffstat (limited to 'src')
-rw-r--r--src/screens/Profile/Header/Handle.tsx2
-rw-r--r--src/view/com/util/post-embeds/ExternalLinkEmbed.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Profile/Header/Handle.tsx b/src/screens/Profile/Header/Handle.tsx
index ba869b662..acfba3fb2 100644
--- a/src/screens/Profile/Header/Handle.tsx
+++ b/src/screens/Profile/Header/Handle.tsx
@@ -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}`}
diff --git a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
index 0fe308417..64e869c94 100644
--- a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
+++ b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
@@ -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,