aboutsummaryrefslogtreecommitdiff
path: root/src/routes/main/MainStackScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-29 14:02:59 -0400
committerIvan Chen <ivan@tagg.id>2021-07-29 14:05:22 -0400
commit4cd0910e9b20b10b0a5ef46945b139e711eec252 (patch)
tree2af4cb30729879c5b6d209533c11d11f07b82b08 /src/routes/main/MainStackScreen.tsx
parent97b7c29fe22f0d31a1a6b095de0ea76a3067e115 (diff)
Fix header styling
Diffstat (limited to 'src/routes/main/MainStackScreen.tsx')
-rw-r--r--src/routes/main/MainStackScreen.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx
index ccfc4cbd..35e1f8e0 100644
--- a/src/routes/main/MainStackScreen.tsx
+++ b/src/routes/main/MainStackScreen.tsx
@@ -382,6 +382,7 @@ export const headerBarOptions: (
),
headerTitle: () => (
<Text
+ numberOfLines={1}
style={[
styles.headerTitle,
{color: color},
@@ -417,7 +418,9 @@ const styles = StyleSheet.create({
shadowOffset: {width: 0, height: 0},
},
headerTitle: {
+ width: SCREEN_WIDTH * 0.7,
textAlign: 'center',
+ lineHeight: normalize(21.48),
letterSpacing: normalize(1.3),
fontWeight: '700',
},