From 11a304e7ba04879c539326e08bc244b3b9de0682 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Tue, 20 Oct 2026 13:12:51 +0000 Subject: [PATCH] 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. --- .../kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt index 54d6fdba..13c84cd4 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt @@ -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(