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

@@ -156,7 +156,7 @@ export default function CreateCalendarAddMember() {
return (
<Pressable
key={index}
style={[Styles.itemSelectModal, {borderColor: colors.icon + '20'}]}
style={[Styles.itemSelectModal, { borderColor: colors.icon + '20' }]}
onPress={() => { onChoose(item.idUser, item.name, item.img) }}
>
<View style={[Styles.rowItemsCenter, Styles.w70]}>

View File

@@ -209,7 +209,7 @@ export default function DiscussionDivision() {
}
/>
:
(<Text style={[Styles.textDefault, Styles.mv10, { textAlign: "center", color:colors.dimmed }]}>Tidak ada diskusi</Text>)
(<Text style={[Styles.textDefault, Styles.mv10, { textAlign: "center", color: colors.dimmed }]}>Tidak ada diskusi</Text>)
}
</View>
</View>

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 >
);
}

View File

@@ -204,7 +204,7 @@ export default function ListDivision() {
</View>
)}
</View>
<View style={[{ flex: 2 }, Styles.mt05]}>
<View style={[{ flex: 2 }, Styles.mt10]}>
{
loading ?
isList ?