diff --git a/src/components/AnimatedContainer/AnimatedContainer.tsx b/src/components/AnimatedContainer/AnimatedContainer.tsx
index 4c8667a..8f5960d 100644
--- a/src/components/AnimatedContainer/AnimatedContainer.tsx
+++ b/src/components/AnimatedContainer/AnimatedContainer.tsx
@@ -10,14 +10,7 @@ export interface props {
export default function AnimatedContainer(props: props) {
return (
;
} else {
return (
-
- You must be within 1km of USTP to use Stud-E{"\n"}
- {dist}km away from USTP {"\n"}
- User Location:
- {"\n"} Latitude {location.coords.latitude}
- {"\n"} Longitude {location.coords.longitude}
-
+
+
+ You must be within 1km of USTP to use Stud-E{"\n"}
+
+
+ {dist}km away from USTP {"\n"}
+ User Location:
+ {"\n"} Latitude {location.coords.latitude}
+ {"\n"} Longitude {location.coords.longitude}
+
+
);
}
} else {
diff --git a/src/styles.tsx b/src/styles.tsx
index e528322..31bc34a 100644
--- a/src/styles.tsx
+++ b/src/styles.tsx
@@ -35,18 +35,13 @@ const styles = StyleSheet.create({
width: "100%",
},
container: {
- flex: 1,
- marginVertical: "5%",
- width: "92%",
- borderRadius: 15,
- // backgroundColor: colors.blue_2,
alignItems: "center",
alignSelf: "center",
- paddingTop: 32,
- paddingBottom: 32,
- justifyContent: "flex-start",
+ justifyContent: "center",
display: "flex",
flexDirection: "column",
+ flex: 1,
+ paddingHorizontal: 4,
},
flex_row: {
display: "flex",
@@ -57,6 +52,7 @@ const styles = StyleSheet.create({
display: "flex",
flexDirection: "column",
alignItems: "center",
+ justifyContent: "center",
},
text_white_tiny: {
color: colors.text_default,