Fix sizing of the leftnav new post btn (#2248)
This commit is contained in:
@@ -239,9 +239,10 @@ function ComposeBtn() {
|
||||
return null
|
||||
}
|
||||
return (
|
||||
<View style={styles.newPostBtnContainer}>
|
||||
<TouchableOpacity
|
||||
disabled={isFetchingHandle}
|
||||
style={[styles.newPostBtn]}
|
||||
style={styles.newPostBtn}
|
||||
onPress={onPressCompose}
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={_(msg`New post`)}
|
||||
@@ -257,6 +258,7 @@ function ComposeBtn() {
|
||||
<Trans>New Post</Trans>
|
||||
</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -512,6 +514,9 @@ const styles = StyleSheet.create({
|
||||
fontSize: 14,
|
||||
},
|
||||
|
||||
newPostBtnContainer: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
newPostBtn: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
|
||||
Reference in New Issue
Block a user