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

@@ -89,7 +89,7 @@ export default function TaskDivisionReport() {
}
return (
<SafeAreaView style={{ flex: 1, backgroundColor: colors.background }}>
<SafeAreaView style={[Styles.flex1, { backgroundColor: colors.background }]}>
<Stack.Screen
options={{
// headerLeft: () => (

View File

@@ -112,7 +112,7 @@ export default function ListTask() {
})
return (
<View style={[Styles.p15, { flex: 1, backgroundColor: colors.background }]}>
<View style={[Styles.p15, Styles.flex1, { backgroundColor: colors.background }]}>
<View>
<ScrollView horizontal style={[Styles.mb10]} showsHorizontalScrollIndicator={false}>
<ButtonTab
@@ -190,7 +190,7 @@ export default function ListTask() {
<View style={[Styles.mv05]}>
<View style={[Styles.rowOnly]}>
<Text style={[Styles.mr05]}>Filter :</Text>
<LabelStatus size="small" category="secondary" text={isYear} style={{ marginRight: 5 }} />
<LabelStatus size="small" category="secondary" text={isYear} style={[Styles.mr05]} />
</View>
</View>
<View style={[{ flex: 2 }]}>
@@ -342,13 +342,13 @@ export default function ListTask() {
</View>
)
) : (
<Text style={[Styles.textDefault, { textAlign: "center", color: colors.dimmed }]} >
<Text style={[Styles.textDefault, Styles.textCenter]} >
Tidak ada data
</Text>
)
}
</View>
</View>
</View >
</View >
);
}