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 (
|
||||
<View
|
||||
style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {maxWidth: '100%'}]}>
|
||||
<View style={[a.rounded_sm, a.overflow_hidden, a.mt_sm, {width: '100%'}]}>
|
||||
<View
|
||||
style={[
|
||||
a.rounded_sm,
|
||||
a.overflow_hidden,
|
||||
{
|
||||
aspectRatio: params.dimensions!.width / params.dimensions!.height,
|
||||
},
|
||||
{aspectRatio: params.dimensions!.width / params.dimensions!.height},
|
||||
]}>
|
||||
<PlaybackControls
|
||||
onPress={onPress}
|
||||
|
|
Loading…
Reference in New Issue