Fixes to the composer UX around images and scrolling

This commit is contained in:
Paul Frazee 2022-12-16 14:48:37 -06:00
parent 3aded6887d
commit 4ef3afb604
5 changed files with 116 additions and 80 deletions

View file

@ -193,7 +193,7 @@ export const FeedItem = observer(function FeedItem({
style={styles.postText}
/>
</View>
<PostEmbeds embed={item.embed} style={{marginBottom: 10}} />
<PostEmbeds embed={item.embed} style={styles.postEmbeds} />
<PostCtrls
replyCount={item.replyCount}
repostCount={item.repostCount}
@ -278,4 +278,7 @@ const styles = StyleSheet.create({
fontSize: 16,
lineHeight: 20.8, // 1.3 of 16px
},
postEmbeds: {
marginBottom: 10,
},
})