Fixes vertical alignment in feed tab bar (#974)

The tab bar items need `justify-content: center` on them or else they can appear unaligned when a feed name has an emoji character in it.
This commit is contained in:
Ændra Rininsland
2023-07-06 00:26:18 +01:00
committed by GitHub
parent 3498c1d239
commit 99aa38e3ca
+2
View File
@@ -109,6 +109,7 @@ const styles = isDesktopWeb
paddingHorizontal: 10,
borderBottomWidth: 3,
borderBottomColor: 'transparent',
justifyContent: 'center'
},
})
: StyleSheet.create({
@@ -129,5 +130,6 @@ const styles = isDesktopWeb
paddingHorizontal: isMobileWeb ? 8 : 0,
borderBottomWidth: 3,
borderBottomColor: 'transparent',
justifyContent: 'center'
},
})