enhancement: space above post body; closes #288 (#290)

This commit is contained in:
Diego Beraldin 2023-12-12 08:08:06 +01:00 committed by GitHub
parent 2f6d44b4ab
commit 940f3df96b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,9 @@ private fun ExtendedPost(
)
if (showBody) {
ScaledContent {
Box {
Box(
modifier = Modifier.padding(top = Spacing.xxs)
) {
val maxHeight = 200.dp
val maxHeightPx = maxHeight.toLocalPixel()
var textHeightPx by remember { mutableStateOf(0f) }