From 99aa38e3ca319f5c58d7543d6f5236882dbc0708 Mon Sep 17 00:00:00 2001 From: Ændra Rininsland Date: Thu, 6 Jul 2023 00:26:18 +0100 Subject: 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. --- src/view/com/pager/TabBar.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx index 5afbb49f5..5f309b568 100644 --- a/src/view/com/pager/TabBar.tsx +++ b/src/view/com/pager/TabBar.tsx @@ -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' }, }) -- cgit 1.4.1