about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/view/com/util/post-embeds/GifEmbed.tsx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/view/com/util/post-embeds/GifEmbed.tsx b/src/view/com/util/post-embeds/GifEmbed.tsx
index 1558b75c6..5e3a69391 100644
--- a/src/view/com/util/post-embeds/GifEmbed.tsx
+++ b/src/view/com/util/post-embeds/GifEmbed.tsx
@@ -124,15 +124,12 @@ export function GifEmbed({
   )
 
   return (
-    <View
-      style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {maxWidth: '100%'}]}>
+    <View style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {width: '100%'}]}>
       <View
         style={[
           a.rounded_sm,
           a.overflow_hidden,
-          {
-            aspectRatio: params.dimensions!.width / params.dimensions!.height,
-          },
+          {aspectRatio: params.dimensions!.width / params.dimensions!.height},
         ]}>
         <PlaybackControls
           onPress={onPress}