fix: multi-community item layout; closes #292 (#295)

This commit is contained in:
Diego Beraldin 2023-12-12 13:14:36 +01:00 committed by GitHub
parent 2812cf960d
commit 4738765450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,17 +68,20 @@ fun MultiCommunityItem(
title = title,
)
}
Column(
modifier = Modifier.padding(start = Spacing.xs),
) {
Text(
modifier = Modifier.padding(vertical = Spacing.s),
text = buildString {
append(title)
},
color = fullColor,
style = MaterialTheme.typography.bodyLarge,
)
ScaledContent {
Column(
modifier = Modifier.weight(1f)
) {
Text(
modifier = Modifier.padding(vertical = Spacing.s),
text = buildString {
append(title)
},
color = fullColor,
style = MaterialTheme.typography.bodyLarge,
)
}
}
if (options.isNotEmpty()) {