mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-15 00:42:54 +01:00
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:
@@ -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",
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user