mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user