Update from MinhNN
This commit is contained in:
@@ -10,7 +10,7 @@ import { SafeAreaView } from "react-native-safe-area-context";
|
|||||||
|
|
||||||
export default function TripInfoScreen() {
|
export default function TripInfoScreen() {
|
||||||
return (
|
return (
|
||||||
<SafeAreaView style={{ flex: 1 }}>
|
<SafeAreaView style={styles.safeArea} edges={["top", "left", "right"]}>
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
<Text style={styles.titleText}>Thông Tin Chuyến Đi</Text>
|
<Text style={styles.titleText}>Thông Tin Chuyến Đi</Text>
|
||||||
<View style={styles.buttonWrapper}>
|
<View style={styles.buttonWrapper}>
|
||||||
@@ -34,6 +34,10 @@ export default function TripInfoScreen() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
safeArea: {
|
||||||
|
flex: 1,
|
||||||
|
paddingBottom: 5,
|
||||||
|
},
|
||||||
scrollContent: {
|
scrollContent: {
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
},
|
},
|
||||||
@@ -57,6 +61,7 @@ const styles = StyleSheet.create({
|
|||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
gap: 10,
|
gap: 10,
|
||||||
marginTop: 15,
|
marginTop: 15,
|
||||||
|
marginBottom: 15,
|
||||||
},
|
},
|
||||||
titleText: {
|
titleText: {
|
||||||
fontSize: 32,
|
fontSize: 32,
|
||||||
|
|||||||
Reference in New Issue
Block a user