From e02cae2acdc9f7c22a14aefeacbcd0ce4472b1a0 Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Mon, 13 May 2024 08:49:54 -0700
Subject: Fix overflowing text on web and iOS in `PostMeta` (#3982)

* `flexShrink` on iOS and web

`flexShrink` on iOS and web

`flexShrink` on iOS and web

actually, `flexShrink`

use `flex`

* adjust web

* `expect-error` `onMouseUp`

* ignore ref type check
---
 src/view/com/util/PostMeta.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/view/com/util/PostMeta.tsx')

diff --git a/src/view/com/util/PostMeta.tsx b/src/view/com/util/PostMeta.tsx
index c0e4d8099..b6fe6d374 100644
--- a/src/view/com/util/PostMeta.tsx
+++ b/src/view/com/util/PostMeta.tsx
@@ -142,6 +142,6 @@ const styles = StyleSheet.create({
   },
   maxWidth: {
     flex: isAndroid ? 1 : undefined,
-    maxWidth: !isAndroid ? '80%' : undefined,
+    flexShrink: isAndroid ? undefined : 1,
   },
 })
-- 
cgit 1.4.1

