Remove added margin on gif
This commit is contained in:
@@ -61,13 +61,15 @@ export const ExternalLinkEmbed = ({
|
|||||||
if (embedPlayerParams?.source === 'tenor') {
|
if (embedPlayerParams?.source === 'tenor') {
|
||||||
const parsedAlt = parseAltFromGIFDescription(link.description)
|
const parsedAlt = parseAltFromGIFDescription(link.description)
|
||||||
return (
|
return (
|
||||||
<GifEmbed
|
<View style={style}>
|
||||||
params={embedPlayerParams}
|
<GifEmbed
|
||||||
thumb={link.thumb}
|
params={embedPlayerParams}
|
||||||
altText={parsedAlt.alt}
|
thumb={link.thumb}
|
||||||
isPreferredAltText={parsedAlt.isPreferred}
|
altText={parsedAlt.alt}
|
||||||
hideAlt={hideAlt}
|
isPreferredAltText={parsedAlt.isPreferred}
|
||||||
/>
|
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},
|
||||||
|
|||||||
Reference in New Issue
Block a user