Fix inline images in long posts (#1732)
This commit is contained in:
parent
43cf9b5294
commit
4841678213
1 changed files with 2 additions and 5 deletions
|
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue