ui: keep the artist actions aligned with the shuffle button

Move the breathing room into the bio text instead of offsetting the star and overflow actions, which broke their centre alignment with the shuffle button.
This commit is contained in:
austinried
2026-10-20 13:12:51 +00:00
parent c8de39acb9
commit 11a304e7ba
@@ -147,8 +147,9 @@ private val SHUFFLE_RESERVE = 86.dp
private val SHUFFLE_HANG = SHUFFLE_HEIGHT / 2
private val BIO_ACTION_RESERVE = 104.dp
private val BIO_ACTION_HEIGHT = 48.dp
private val BIO_ACTION_OFFSET = 16.dp
private val BIO_ACTION_OFFSET = 8.dp
private val BIO_TOP_GAP = 8.dp
private val BIO_LINES_TOP_GAP = 8.dp
private val BIO_BOTTOM_GAP = 8.dp
internal fun estimateScrollPx(
@@ -643,7 +644,7 @@ private fun ArtistBio(
}
}
Box {
Column(Modifier.fillMaxWidth()) {
Column(Modifier.fillMaxWidth().padding(top = BIO_LINES_TOP_GAP)) {
bioLines.lines.forEachIndexed { index, line ->
val isControl = index == bioLines.lines.lastIndex && (bioLines.more || bioLines.less)
Text(