about summary refs log tree commit diff
path: root/src/view/com/util/PostEmbeds.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-18 18:14:46 -0600
committerGitHub <noreply@github.com>2023-01-18 18:14:46 -0600
commit6588961d2e075ed047857d71346e3a63282ee58f (patch)
tree54c75536bb623ccc14d26f9a12e0e42c9dd481b9 /src/view/com/util/PostEmbeds.tsx
parent27ee550d15321b17200f844038e8d6e0a8975139 (diff)
downloadvoidsky-6588961d2e075ed047857d71346e3a63282ee58f.tar.zst
Update composer to preview external link cards (#52)
* Fetch external link metadata during compose so the user can preview and remove the embed

* Add missing mocks

* Update tests to match recent changes
Diffstat (limited to 'src/view/com/util/PostEmbeds.tsx')
-rw-r--r--src/view/com/util/PostEmbeds.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/PostEmbeds.tsx b/src/view/com/util/PostEmbeds.tsx
index bb98f55db..3fb93ed48 100644
--- a/src/view/com/util/PostEmbeds.tsx
+++ b/src/view/com/util/PostEmbeds.tsx
@@ -132,7 +132,7 @@ const styles = StyleSheet.create({
     borderTopLeftRadius: 6,
     borderTopRightRadius: 6,
     width: '100%',
-    height: 200,
+    maxHeight: 200,
   },
   extImageFallback: {
     height: 160,