diff options
author | Ivan Chen <ivan@tagg.id> | 2021-01-21 16:59:30 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-01-21 16:59:30 -0500 |
commit | d6714bec669becb4132035ffdf7b9b87e9c6ce7b (patch) | |
tree | e7d39626e9b6ada6c60c32150d2b8406ea6dc981 /src/components/profile/Content.tsx | |
parent | 7f5a1a224a235da7c38c3f38c41bbdca71d14471 (diff) |
normalize function and normalized all fonts on profile page
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r-- | src/components/profile/Content.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index a2bd3cf3..140c911c 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -16,6 +16,7 @@ import { fetchUserX, getUserAsProfilePreviewType, moveCategory, + normalize, SCREEN_HEIGHT, userLogin, } from '../../utils'; @@ -424,7 +425,7 @@ const styles = StyleSheet.create({ alignSelf: 'center', }, createCategoryButtonLabel: { - fontSize: 16, + fontSize: normalize(16), fontWeight: '500', color: 'white', }, @@ -435,7 +436,7 @@ const styles = StyleSheet.create({ marginVertical: '10%', }, noMomentsText: { - fontSize: 14, + fontSize: normalize(14), fontWeight: 'bold', color: 'gray', marginVertical: '8%', |