align the library title and tabs with the album grid

This commit is contained in:
austinried
2026-10-04 00:29:54 +00:00
parent f21b04af49
commit 483a15923f
@@ -197,7 +197,7 @@ fun LibraryScreen(
Modifier Modifier
.offset(y = -(titleHeight * titleFraction)) .offset(y = -(titleHeight * titleFraction))
.wrapContentHeight(unbounded = true) .wrapContentHeight(unbounded = true)
.padding(start = 16.dp, end = 16.dp, top = titleTop), .padding(start = 8.dp, end = 16.dp, top = titleTop),
) )
} }
LibraryTabs( LibraryTabs(
@@ -243,7 +243,7 @@ private fun LibraryTabs(
Box( Box(
Modifier Modifier
.fillMaxWidth() .fillMaxWidth()
.padding(horizontal = 12.dp), .padding(start = 8.dp, end = 12.dp),
) { ) {
bounds[page]?.let { current -> bounds[page]?.let { current ->
val neighbour = bounds[if (fraction >= 0f) page + 1 else page - 1] val neighbour = bounds[if (fraction >= 0f) page + 1 else page - 1]