Remove added margin on gif

This commit is contained in:
Eric Bailey
2024-10-10 14:26:32 -05:00
parent 7dcf708538
commit 389e177dcb
2 changed files with 9 additions and 8 deletions
@@ -61,13 +61,15 @@ export const ExternalLinkEmbed = ({
if (embedPlayerParams?.source === 'tenor') {
const parsedAlt = parseAltFromGIFDescription(link.description)
return (
<GifEmbed
params={embedPlayerParams}
thumb={link.thumb}
altText={parsedAlt.alt}
isPreferredAltText={parsedAlt.isPreferred}
hideAlt={hideAlt}
/>
<View style={style}>
<GifEmbed
params={embedPlayerParams}
thumb={link.thumb}
altText={parsedAlt.alt}
isPreferredAltText={parsedAlt.isPreferred}
hideAlt={hideAlt}
/>
</View>
)
}
@@ -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},