fix: add padding to prevent increasing height of an element after loading data

This commit is contained in:
Sweetbread 2025-04-27 00:56:53 +03:00
parent 790a5fabcd
commit 1a1b3677f9
Signed by: Sweetbread
GPG Key ID: 17A5CB9A7DD85319

View File

@ -187,7 +187,7 @@ fun PostItem(modifier: Modifier = Modifier, post: Post, extended: Boolean = fals
LinearProgressIndicator(
modifier = Modifier
.fillMaxWidth()
.padding(8.dp),
.padding(horizontal = 8.dp, vertical = 38.dp),
color = MaterialTheme.colorScheme.surfaceVariant,
trackColor = MaterialTheme.colorScheme.secondary,
)