diff --git a/components/RecommendationItem.js b/components/RecommendationItem.js index 40edecd..fe5e85d 100644 --- a/components/RecommendationItem.js +++ b/components/RecommendationItem.js @@ -137,11 +137,13 @@ const styles = StyleSheet.create({ fontSize: 18, fontWeight: "bold", color: "darkblue", + textAlign: "center", }, distanceTextBottom: { fontSize: 15, fontWeight: "bold", color: "darkblue", + textAlign: "center", }, drivingContainer: { width: Dimensions.get("screen").width * 0.16, @@ -152,6 +154,7 @@ const styles = StyleSheet.create({ drivingText: { fontWeight: "bold", color: "indianred", + textAlign: "center", }, walkingContainer: { width: Dimensions.get("screen").width * 0.16, @@ -162,5 +165,6 @@ const styles = StyleSheet.create({ walkingText: { fontWeight: "bold", color: "darkolivegreen", + textAlign: "center", }, }); diff --git a/screens/CrowdScreen.js b/screens/CrowdScreen.js index a5e81aa..238a64b 100644 --- a/screens/CrowdScreen.js +++ b/screens/CrowdScreen.js @@ -131,15 +131,21 @@ export default function CrowdScreen() { Legend: - {"Not Crowded\n(<50%)"} + + {"Not Crowded\n(<50%)"} + - {"Some Crowd\n(50%-75%)"} + + {"Some Crowd\n(50%-75%)"} + - {"Crowded\n(>75%)"} + + {"Crowded\n(>75%)"} + diff --git a/screens/SafetyMeasuresScreen.js b/screens/SafetyMeasuresScreen.js index 87df653..072b272 100644 --- a/screens/SafetyMeasuresScreen.js +++ b/screens/SafetyMeasuresScreen.js @@ -107,11 +107,13 @@ export default function SafetyMeasuresScreen() { Legend: - Entrances + Entrances - Hand sanitiser{"\n"}points + + Hand Sanitiser{"\n"}Points + ); })}