From 389e177dcb3a1cd17829cf83008075aade1e1d82 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 10 Oct 2024 14:26:32 -0500 Subject: [PATCH] Remove added margin on gif --- .../com/util/post-embeds/ExternalLinkEmbed.tsx | 16 +++++++++------- src/view/com/util/post-embeds/GifEmbed.tsx | 1 - 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx index 8951f0a210..0399667b08 100644 --- a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx +++ b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx @@ -61,13 +61,15 @@ export const ExternalLinkEmbed = ({ if (embedPlayerParams?.source === 'tenor') { const parsedAlt = parseAltFromGIFDescription(link.description) return ( - + + + ) } diff --git a/src/view/com/util/post-embeds/GifEmbed.tsx b/src/view/com/util/post-embeds/GifEmbed.tsx index f1dbd1a1b3..4dbc7d588f 100644 --- a/src/view/com/util/post-embeds/GifEmbed.tsx +++ b/src/view/com/util/post-embeds/GifEmbed.tsx @@ -116,7 +116,6 @@ export function GifEmbed({ style={[ a.rounded_md, a.overflow_hidden, - a.mt_sm, a.border, t.atoms.border_contrast_low, {aspectRatio: params.dimensions!.width / params.dimensions!.height},