mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 00:57:02 +05:30
LobstersItem: fix submitter name alignment with avatar
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
07930d416d
commit
5ab5d1ece7
1 changed files with 3 additions and 2 deletions
|
@ -110,9 +110,10 @@ fun LobstersItem(
|
||||||
Text(
|
Text(
|
||||||
text = "submitted by ${post.submitterUser.username}",
|
text = "submitted by ${post.submitterUser.username}",
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(bottom = 4.dp)
|
.padding(4.dp)
|
||||||
.constrainAs(submitter) {
|
.constrainAs(submitter) {
|
||||||
top.linkTo(tags.bottom)
|
top.linkTo(avatar.top)
|
||||||
|
bottom.linkTo(avatar.bottom)
|
||||||
start.linkTo(avatar.end)
|
start.linkTo(avatar.end)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue