upd: tampilan jarak antar section pada fitur detail kegiatan dan detail tugas divisi
This commit is contained in:
@@ -97,7 +97,7 @@ export default function ItemSectionTanggalTugas({ status, title, dateStart, date
|
||||
borderWidth: 1,
|
||||
borderColor: colors.icon + '18',
|
||||
backgroundColor: colors.card,
|
||||
marginBottom: 10,
|
||||
marginBottom: 0,
|
||||
}}
|
||||
>
|
||||
{/* Accent bar kiri */}
|
||||
|
||||
@@ -127,7 +127,7 @@ export default function SectionFile({ status, member, refreshing }: { status: nu
|
||||
<>
|
||||
<ModalLoading isVisible={loadingOpen} setVisible={setLoadingOpen} />
|
||||
<View style={[Styles.mb15]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, Styles.mv05]}>File</Text>
|
||||
<Text style={[Styles.textDefaultSemiBold, { marginBottom: 5 }]}>File</Text>
|
||||
|
||||
{loading ? (
|
||||
<View style={Styles.fileGrid}>
|
||||
|
||||
@@ -74,7 +74,7 @@ export default function SectionMember({ status, refreshing }: { status: number |
|
||||
return (
|
||||
<>
|
||||
<View style={[Styles.mb15]}>
|
||||
<View style={[Styles.rowSpaceBetween, Styles.mv05]}>
|
||||
<View style={[Styles.rowSpaceBetween, { marginBottom: 5 }]}>
|
||||
<Text style={[Styles.textDefaultSemiBold]}>Anggota</Text>
|
||||
{!loading && data.length > 0 && (
|
||||
<Text style={[Styles.textDefault, { color: colors.dimmed }]}>{data.length} orang</Text>
|
||||
|
||||
@@ -174,9 +174,9 @@ export default function SectionTanggalTugasProject({ status, member, refreshing,
|
||||
|
||||
return (
|
||||
<>
|
||||
<View style={[Styles.mb15, Styles.mt10]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, Styles.mv05]}>Tanggal & Tugas</Text>
|
||||
<View>
|
||||
<View style={[Styles.mb15]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, { marginBottom: 5 }]}>Tanggal & Tugas</Text>
|
||||
<View style={{ gap: 10 }}>
|
||||
{loading
|
||||
? arrSkeleton.map((_, index) => <SkeletonTask key={index} />)
|
||||
: data.length > 0
|
||||
|
||||
@@ -153,7 +153,7 @@ export default function SectionFileTask({ refreshing, isMemberDivision }: { refr
|
||||
<>
|
||||
<ModalLoading isVisible={loadingOpen} setVisible={setLoadingOpen} />
|
||||
<View style={[Styles.mb15]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, Styles.mv05]}>File</Text>
|
||||
<Text style={[Styles.textDefaultSemiBold, { marginBottom: 5 }]}>File</Text>
|
||||
{loading ? (
|
||||
<View style={Styles.fileGrid}>
|
||||
{arrSkeleton.map((_, index) => (
|
||||
|
||||
@@ -100,7 +100,7 @@ export default function SectionMemberTask({ refreshing, isAdminDivision }: { ref
|
||||
return (
|
||||
<>
|
||||
<View style={[Styles.mb15]}>
|
||||
<View style={[Styles.rowSpaceBetween, Styles.mv05]}>
|
||||
<View style={[Styles.rowSpaceBetween, { marginBottom: 5 }]}>
|
||||
<Text style={[Styles.textDefaultSemiBold]}>Anggota</Text>
|
||||
{!loading && data.length > 0 && (
|
||||
<Text style={[Styles.textDefault, { color: colors.dimmed }]}>{data.length} orang</Text>
|
||||
|
||||
@@ -172,9 +172,9 @@ export default function SectionTanggalTugasTask({ refreshing, isMemberDivision,
|
||||
|
||||
return (
|
||||
<>
|
||||
<View style={[Styles.mb15, Styles.mt10]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, Styles.mv05]}>Tanggal & Tugas</Text>
|
||||
<View>
|
||||
<View style={[Styles.mb15]}>
|
||||
<Text style={[Styles.textDefaultSemiBold, { marginBottom: 5 }]}>Tanggal & Tugas</Text>
|
||||
<View style={{ gap: 10 }}>
|
||||
{loading
|
||||
? arrSkeleton.map((_, index) => <SkeletonTask key={index} />)
|
||||
: data.length > 0
|
||||
|
||||
Reference in New Issue
Block a user