diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-07 16:42:04 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-07 16:42:04 -0400 |
commit | 679b46ac69149fb93a7a3781fa7f88c53dc77b33 (patch) | |
tree | e62b773fa9dda225df810ade471bcb119f118697 /src/components | |
parent | 9ae27c5717bace27a2db2c8dab1241c8a6e3da25 (diff) |
adjusted styling
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/notifications/Notification.tsx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index 0290f9c7..ae884b42 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -253,10 +253,14 @@ const Notification: React.FC<NotificationProps> = (props) => { <TouchableWithoutFeedback style={styles.textContainerStyles} onPress={onNotificationTap}> - <Text style={styles.verbageStyles}>{verbage}</Text> - <Text style={styles.timeStampStyles}> - {getTimeInShorthand(timestamp)} + <Text style={styles.verbageStyles}> + {verbage} + <Text style={styles.timeStampStyles}> + {' '} + {getTimeInShorthand(timestamp)} + </Text> </Text> + {/* <Text style={styles.verbageStyles}>{verbage}</Text> */} </TouchableWithoutFeedback> </View> {/* Friend request accept/decline button */} @@ -317,6 +321,7 @@ const styles = StyleSheet.create({ contentContainer: { flex: 5, marginLeft: '5%', + marginRight: '3%', height: '80%', flexDirection: 'column', justifyContent: 'space-around', @@ -327,14 +332,16 @@ const styles = StyleSheet.create({ lineHeight: normalize(14.32), }, moment: { - height: 42, - width: 42, - right: '5%', + height: normalize(42), + width: normalize(42), }, buttonsContainer: { height: '80%', }, - textContainerStyles: {flexDirection: 'row', flexWrap: 'wrap'}, + textContainerStyles: { + flexDirection: 'row', + flexWrap: 'wrap', + }, verbageStyles: { fontWeight: '500', fontSize: normalize(11), |