Fix inline images in long posts (#1732)

This commit is contained in:
Elias Nahum 2018-06-06 15:36:50 -04:00 committed by Saturnino Abril
parent 43cf9b5294
commit 4841678213

View file

@ -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}}
/>
</TouchableWithoutFeedback>
);
@ -337,9 +337,6 @@ export default class MarkdownImage extends React.Component {
const style = StyleSheet.create({
container: {
flex: 1,
},
image: {
marginVertical: 5,
marginBottom: 5,
},
});