From 2df27956cc270d8eb9008ae3186e6c8b3077301a Mon Sep 17 00:00:00 2001 From: Pablo Date: Tue, 18 Jun 2024 11:43:35 +0200 Subject: [PATCH] fix: correct spacing between cards Signed-off-by: Pablo --- .../usescases/programEventDetail/eventList/EventListScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListScreen.kt b/app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListScreen.kt index 83436512934..7f7449a0957 100644 --- a/app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListScreen.kt +++ b/app/src/main/java/org/dhis2/usescases/programEventDetail/eventList/EventListScreen.kt @@ -38,7 +38,7 @@ fun EventListScreen( .fillMaxSize() .background(Color.White) .padding(horizontal = 8.dp), - verticalArrangement = Arrangement.Absolute.spacedBy(Spacing.Spacing8), + verticalArrangement = Arrangement.Absolute.spacedBy(Spacing.Spacing4), ) { WorkingListChipGroup( Modifier.padding(top = Spacing.Spacing16), @@ -78,7 +78,7 @@ fun EventListScreen( modifier = Modifier .fillMaxWidth() .weight(1f), - verticalArrangement = Arrangement.Absolute.spacedBy(8.dp), + verticalArrangement = Arrangement.Absolute.spacedBy(4.dp), ) { items(count = events.itemCount) { index -> val card = events[index]!!