diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-22 19:13:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 19:13:53 -0500 |
commit | 2262d4937d0248e4742f149c7aa4ec79f76c8478 (patch) | |
tree | 308517c416605f13163bf6847e5c322ee23ab2e8 /src/components/profile/UniversityIcon.tsx | |
parent | 9921e80e60cb24d0fc7b99123a8b146c6e7d14ff (diff) | |
parent | e5915b02008dfcebe08de063f0440974c8415d4b (diff) |
Merge pull request #196 from IvanIFChen/tma552-adjust-styles-and-sizes
[TMA-552] Adjust Styles and Sizes
Diffstat (limited to 'src/components/profile/UniversityIcon.tsx')
-rw-r--r-- | src/components/profile/UniversityIcon.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/profile/UniversityIcon.tsx b/src/components/profile/UniversityIcon.tsx index 13586359..95aef8b9 100644 --- a/src/components/profile/UniversityIcon.tsx +++ b/src/components/profile/UniversityIcon.tsx @@ -1,7 +1,7 @@ import React from 'react'; import {StyleSheet, ViewProps} from 'react-native'; import {Image, Text, View} from 'react-native-animatable'; -import {getUniversityClass} from '../../utils'; +import {getUniversityClass, normalize} from '../../utils'; export interface UniversityIconProps extends ViewProps { university: string; @@ -38,19 +38,19 @@ const UniversityIcon: React.FC<UniversityIconProps> = ({ const styles = StyleSheet.create({ container: { - flex: 1, flexDirection: 'column', flexWrap: 'wrap', justifyContent: 'center', + alignItems: 'center', + height: '100%', }, univClass: { - fontSize: 13, + fontSize: normalize(14), fontWeight: '500', }, icon: { - alignSelf: 'center', - width: 17, - height: 19, + width: normalize(17), + height: normalize(19), }, }); |