mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 16:27:06 +05:30
common: add back missing indent level
This commit is contained in:
parent
11272cf29c
commit
520430592c
1 changed files with 9 additions and 1 deletions
|
@ -45,7 +45,15 @@ fun CommentEntry(
|
||||||
val htmlConverter = LocalHTMLConverter.current
|
val htmlConverter = LocalHTMLConverter.current
|
||||||
Divider(color = Color.Gray.copy(0.4f))
|
Divider(color = Color.Gray.copy(0.4f))
|
||||||
Row(modifier = Modifier.wrapContentHeight()) {
|
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(
|
SubmitterName(
|
||||||
text = comment.user.username,
|
text = comment.user.username,
|
||||||
avatarUrl = "https://lobste.rs/${comment.user.avatarUrl}",
|
avatarUrl = "https://lobste.rs/${comment.user.avatarUrl}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue