change maxWidth -> width to fix GIFs in DMs (#4717)
Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>zio/stable
parent
04cfd06639
commit
dc3c81c4e2
|
@ -124,15 +124,12 @@ export function GifEmbed({
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View
|
<View style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {width: '100%'}]}>
|
||||||
style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {maxWidth: '100%'}]}>
|
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
a.rounded_sm,
|
a.rounded_sm,
|
||||||
a.overflow_hidden,
|
a.overflow_hidden,
|
||||||
{
|
{aspectRatio: params.dimensions!.width / params.dimensions!.height},
|
||||||
aspectRatio: params.dimensions!.width / params.dimensions!.height,
|
|
||||||
},
|
|
||||||
]}>
|
]}>
|
||||||
<PlaybackControls
|
<PlaybackControls
|
||||||
onPress={onPress}
|
onPress={onPress}
|
||||||
|
|
Loading…
Reference in New Issue