common: add back missing indent level

This commit is contained in:
Harsh Shandilya 2021-11-15 23:09:40 +05:30
parent 11272cf29c
commit 520430592c
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -45,7 +45,15 @@ fun CommentEntry(
val htmlConverter = LocalHTMLConverter.current
Divider(color = Color.Gray.copy(0.4f))
Row(modifier = Modifier.wrapContentHeight()) {
Column(modifier = Modifier.padding(start = 12.dp, end = 8.dp, top = 4.dp, bottom = 4.dp)) {
Column(
modifier =
Modifier.padding(
start = (comment.indentLevel * 12).dp,
end = 8.dp,
top = 4.dp,
bottom = 4.dp
)
) {
SubmitterName(
text = comment.user.username,
avatarUrl = "https://lobste.rs/${comment.user.avatarUrl}",