about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <153161762+haileyok@users.noreply.github.com>2024-01-19 16:12:10 -0800
committerGitHub <noreply@github.com>2024-01-19 16:12:10 -0800
commit5522b581ece2fb9d1de7859d7038e7ee0cea68f6 (patch)
treea8ed2cec2344cd363a471aa6ca8c056809231678
parente1759845068d6dd2d8f72e07c4dd27d5cb014f64 (diff)
downloadvoidsky-5522b581ece2fb9d1de7859d7038e7ee0cea68f6.tar.zst
flex and truncate content hider text (#2569)
-rw-r--r--src/view/com/util/moderation/ContentHider.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/moderation/ContentHider.tsx b/src/view/com/util/moderation/ContentHider.tsx
index 249c556ec..b3a563116 100644
--- a/src/view/com/util/moderation/ContentHider.tsx
+++ b/src/view/com/util/moderation/ContentHider.tsx
@@ -94,7 +94,7 @@ export function ContentHider({
             <ShieldExclamation size={18} style={pal.textLight} />
           )}
         </Pressable>
-        <Text type="md" style={pal.text}>
+        <Text type="md" style={[pal.text, {flex: 1}]} numberOfLines={2}>
           {desc.name}
         </Text>
         <View style={styles.showBtn}>
@@ -131,7 +131,7 @@ const styles = StyleSheet.create({
   cover: {
     flexDirection: 'row',
     alignItems: 'center',
-    gap: 4,
+    gap: 6,
     borderRadius: 8,
     marginTop: 4,
     paddingVertical: 14,