Update from MinhNN

This commit is contained in:
2025-11-01 00:59:04 +07:00
parent 44fc6848a8
commit eea1482a88

View File

@@ -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,