diff options
Diffstat (limited to 'src/components/profile/UniversityIcon.tsx')
-rw-r--r-- | src/components/profile/UniversityIcon.tsx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/components/profile/UniversityIcon.tsx b/src/components/profile/UniversityIcon.tsx index a901998f..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; @@ -45,15 +45,12 @@ const styles = StyleSheet.create({ height: '100%', }, univClass: { - fontSize: 13, + fontSize: normalize(14), fontWeight: '500', }, icon: { - // alignSelf: 'center', - // width: '5%', - width: 17, - height: 19, - // aspectRatio: 17 / 19, + width: normalize(17), + height: normalize(19), }, }); |