From 4841678213e5c38aafc4a89ba9019554bcf1fe32 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Wed, 6 Jun 2018 15:36:50 -0400 Subject: [PATCH] Fix inline images in long posts (#1732) --- app/components/markdown/markdown_image/markdown_image.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/components/markdown/markdown_image/markdown_image.js b/app/components/markdown/markdown_image/markdown_image.js index 24508cb1e..ba5dd5e72 100644 --- a/app/components/markdown/markdown_image/markdown_image.js +++ b/app/components/markdown/markdown_image/markdown_image.js @@ -294,7 +294,7 @@ export default class MarkdownImage extends React.Component { ref='image' defaultSource={source} resizeMode='contain' - style={[{width, height}, style.image]} + style={{width, height}} /> ); @@ -337,9 +337,6 @@ export default class MarkdownImage extends React.Component { const style = StyleSheet.create({ container: { - flex: 1, - }, - image: { - marginVertical: 5, + marginBottom: 5, }, });