diff --git a/src/components/AnimatedContainer/AnimatedContainer.tsx b/src/components/AnimatedContainer/AnimatedContainer.tsx index aade0dc..91f6bfb 100644 --- a/src/components/AnimatedContainer/AnimatedContainer.tsx +++ b/src/components/AnimatedContainer/AnimatedContainer.tsx @@ -9,13 +9,22 @@ export interface props { export default function AnimatedContainer(props: props) { return ( - - {props.children} - + + + {props.children} + + ); } diff --git a/src/styles.tsx b/src/styles.tsx index 3f0057f..27285c0 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -32,7 +32,8 @@ const styles = StyleSheet.create({ width: "100%", }, container: { - marginTop: "5%", + flex: 1, + marginVertical: "5%", width: "92%", borderRadius: 15, backgroundColor: colors.blue_2, @@ -108,8 +109,9 @@ const styles = StyleSheet.create({ marginVertical: 6, }, map: { - height: "50%", + height: 512, width: "90%", + alignSelf: "center", }, });