ui: keep the artist gradient anchored to the hero image

Use symmetric page margins for the artist bio, let lines below the action buttons use the full width, and stop the expanding bio from shifting the hero gradient.
This commit is contained in:
austinried
2026-10-19 14:01:30 +00:00
parent 77190a2af1
commit 8348e048b5
2 changed files with 19 additions and 9 deletions
@@ -238,7 +238,7 @@ class ArtistDetailScreenTest {
var result: BioLines? = null
composeRule.setContent {
val measurer = rememberTextMeasurer()
result = splitBioCollapsed(measurer, bio, TextStyle(fontSize = 14.sp), 400, 0, "More")
result = splitBioCollapsed(measurer, bio, TextStyle(fontSize = 14.sp), 400, 0, 0, "More")
}
composeRule.waitForIdle()
@@ -269,6 +269,7 @@ class ArtistDetailScreenTest {
TextStyle(fontSize = 14.sp),
400,
0,
0,
"More",
maxLines = 3,
)
@@ -298,6 +299,7 @@ class ArtistDetailScreenTest {
TextStyle(fontSize = 14.sp),
20,
0,
0,
"More",
)
}