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,6 +61,7 @@ export const ExternalLinkEmbed = ({
if (embedPlayerParams?.source === 'tenor') { if (embedPlayerParams?.source === 'tenor') {
const parsedAlt = parseAltFromGIFDescription(link.description) const parsedAlt = parseAltFromGIFDescription(link.description)
return ( return (
<View style={style}>
<GifEmbed <GifEmbed
params={embedPlayerParams} params={embedPlayerParams}
thumb={link.thumb} thumb={link.thumb}
@@ -68,6 +69,7 @@ export const ExternalLinkEmbed = ({
isPreferredAltText={parsedAlt.isPreferred} isPreferredAltText={parsedAlt.isPreferred}
hideAlt={hideAlt} hideAlt={hideAlt}
/> />
</View>
) )
} }
@@ -116,7 +116,6 @@ export function GifEmbed({
style={[ style={[
a.rounded_md, a.rounded_md,
a.overflow_hidden, a.overflow_hidden,
a.mt_sm,
a.border, a.border,
t.atoms.border_contrast_low, t.atoms.border_contrast_low,
{aspectRatio: params.dimensions!.width / params.dimensions!.height}, {aspectRatio: params.dimensions!.width / params.dimensions!.height},