upd: refactor style

This commit is contained in:
2026-02-19 15:27:02 +08:00
parent 77f478b7ca
commit 6770d40b41
45 changed files with 195 additions and 136 deletions

View File

@@ -114,7 +114,7 @@ export default function EditBanner() {
};
return (
<SafeAreaView style={{ flex: 1, backgroundColor: colors.background }}>
<SafeAreaView style={[Styles.flex1, { backgroundColor: colors.background }]}>
<Stack.Screen
options={{
// headerLeft: () => (
@@ -156,7 +156,7 @@ export default function EditBanner() {
? selectedImage
: selectedImage.uri
}
style={{ resizeMode: "contain", width: "100%", height: 100 }}
style={[Styles.resizeContain, Styles.w100, { height: 100 }]}
/>
</Pressable>
) : (
@@ -165,7 +165,7 @@ export default function EditBanner() {
style={[Styles.wrapPaper, Styles.contentItemCenter]}
>
<View
style={{ justifyContent: "center", alignItems: "center" }}
style={[Styles.contentItemCenter]}
>
<Entypo name="image" size={50} color={"#aeaeae"} />
<Text style={[Styles.textInformation, Styles.mt05]}>