center user/avatar if no text in carousel post
This commit is contained in:
@@ -181,7 +181,11 @@ function PostInner({
|
||||
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||
/>
|
||||
</View>
|
||||
<View style={styles.layoutContent}>
|
||||
<View
|
||||
style={[
|
||||
styles.layoutContent,
|
||||
!richText.text && styles.layoutContentNoText,
|
||||
]}>
|
||||
<PostMeta
|
||||
author={post.author}
|
||||
moderation={moderation}
|
||||
@@ -260,6 +264,9 @@ const styles = StyleSheet.create({
|
||||
layoutContent: {
|
||||
flex: 1,
|
||||
},
|
||||
layoutContentNoText: {
|
||||
paddingTop: 10,
|
||||
},
|
||||
alert: {
|
||||
marginBottom: 6,
|
||||
},
|
||||
|
||||
@@ -359,7 +359,11 @@ let FeedItemInner = ({
|
||||
/>
|
||||
)}
|
||||
</View>
|
||||
<View style={styles.layoutContent}>
|
||||
<View
|
||||
style={[
|
||||
styles.layoutContent,
|
||||
!richText.text && styles.layoutContentNoText,
|
||||
]}>
|
||||
<PostMeta
|
||||
author={post.author}
|
||||
moderation={moderation}
|
||||
@@ -532,6 +536,9 @@ const styles = StyleSheet.create({
|
||||
flex: 1,
|
||||
zIndex: 0,
|
||||
},
|
||||
layoutContentNoText: {
|
||||
paddingTop: 10,
|
||||
},
|
||||
alert: {
|
||||
marginTop: 6,
|
||||
marginBottom: 6,
|
||||
|
||||
Reference in New Issue
Block a user