diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt index 02bae20..6512e23 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/TransactionsList.kt @@ -43,7 +43,7 @@ fun TransactionsList(transactions: List) { text = DI.formatUtil.formatMonth(month), fontSize = 16.sp, fontWeight = FontWeight.SemiBold, - modifier = Modifier.padding(top = 24.dp, bottom = 2.dp), + modifier = Modifier.padding(top = 8.dp, bottom = 2.dp), ) Spacer(Modifier.height(4.dp)) @@ -70,7 +70,7 @@ fun TransactionsList(transactions: List) { ) } - Column(Modifier.fillMaxWidth().padding(top = 2.dp), horizontalAlignment = Alignment.End) { + Column(Modifier.fillMaxWidth().padding(top = 2.dp, bottom = 16.dp), horizontalAlignment = Alignment.End) { Text( // TODO: find a better solution text = formatUtil.formatAmount(Amount(monthTransactions.map { it.amount.toBigDecimal() }.filter { it < 0 }.sum().toString()), "EUR"),