about summary refs log tree commit diff
path: root/src/view/com/composer
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-08 18:04:40 +0100
committerGitHub <noreply@github.com>2024-08-08 18:04:40 +0100
commite7a0055a8514a134d3fc897b5058d14070518b2e (patch)
treeb45258b04f94fc607b141c52f9cd9227dbf07f6e /src/view/com/composer
parentae25cb33919c2d308d24d2ac20d884871ad71ce3 (diff)
downloadvoidsky-e7a0055a8514a134d3fc897b5058d14070518b2e.tar.zst
Fix overflow on posts (#4899)
* overflow posts, via contentHider

* margin->padding for a bit more leeway

* overflow notifications

* overflow on header

* revert from contenthider, put on text in all places

* fix zalgo text in handle in composer

---------

Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'src/view/com/composer')
-rw-r--r--src/view/com/composer/ComposerReplyTo.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/composer/ComposerReplyTo.tsx b/src/view/com/composer/ComposerReplyTo.tsx
index 6b38caff0..d4ba1f3a8 100644
--- a/src/view/com/composer/ComposerReplyTo.tsx
+++ b/src/view/com/composer/ComposerReplyTo.tsx
@@ -91,7 +91,7 @@ export function ComposerReplyTo({replyTo}: {replyTo: ComposerOptsPostRef}) {
         type={replyTo.author.associated?.labeler ? 'labeler' : 'user'}
       />
       <View style={styles.replyToPost}>
-        <Text type="xl-medium" style={t.atoms.text}>
+        <Text type="xl-medium" style={t.atoms.text} numberOfLines={1}>
           {sanitizeDisplayName(
             replyTo.author.displayName || sanitizeHandle(replyTo.author.handle),
           )}