diff --git a/components/EventCard.tsx b/components/EventCard.tsx index 772e453..9004b05 100644 --- a/components/EventCard.tsx +++ b/components/EventCard.tsx @@ -105,7 +105,7 @@ const styles = StyleSheet.create({ position: "absolute", marginLeft: 15, marginTop: 30, - maxWidth: Dimensions.get("window").width * 0.8, + maxWidth: 320, }, name: { fontSize: 20, diff --git a/components/EventModal.tsx b/components/EventModal.tsx index 9ea0a26..80bf8b2 100644 --- a/components/EventModal.tsx +++ b/components/EventModal.tsx @@ -58,12 +58,15 @@ const styles = StyleSheet.create({ }, eventDetails: { position: "absolute", - marginLeft: 25, + marginLeft: 20, + width: 300, marginTop: 50, + // backgroundColor: 'green' }, name: { fontSize: 20, // marginLeft: 20, + paddingRight: 25, color: "black", fontFamily: "Kufam_700Bold", paddingRight: 25 @@ -71,6 +74,7 @@ const styles = StyleSheet.create({ info: { flexDirection: "row", // justifyContent: "space-evenly", + }, infoItem: { flexDirection: "row", diff --git a/navigation/DayEvent.tsx b/navigation/DayEvent.tsx index 4c46866..425a093 100644 --- a/navigation/DayEvent.tsx +++ b/navigation/DayEvent.tsx @@ -28,7 +28,7 @@ const DayEvent = ({ day, events }) => ( key={event.id} name={event.name} time={formatTime(event.startTime)} - location={"location"} + location={event.location} description={event.description} points={event.points} /> diff --git a/yarn.lock b/yarn.lock index d76973e..b184a5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10893,9 +10893,6 @@ __metadata: languageName: node linkType: hard -"react-native-pager-view@npm:6.3.0": - version: 6.3.0 - resolution: "react-native-pager-view@npm:6.3.0" "react-native-pager-view@npm:6.3.0": version: 6.3.0 resolution: "react-native-pager-view@npm:6.3.0"