From fedbb3a5449c71db95a82d9314a3729a6ec222bc Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 25 Aug 2024 02:57:02 +0200 Subject: [PATCH] Set max width for TransactionsList --- .../net/codinux/banking/ui/composables/TransactionsList.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d6f3370..971fbf8 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 @@ -31,7 +31,7 @@ fun TransactionsList(transactions: List) { } LazyColumn( - modifier = Modifier.padding(4.dp) + modifier = Modifier.padding(4.dp).widthIn(max = 800.dp) ) { items(groupedByMonth.keys.sortedDescending()) { month -> Column(Modifier.fillMaxWidth()) {