Fix onboarding topic name cropped at bottom

Bug: 231310262
Change-Id: I8eee6b871c8f36765591d01e9d971b5d8a6f4387
pull/2/head
Caren Chang 2 years ago committed by Don Turner
parent 25f2e39c62
commit b81ba74a14

@ -343,7 +343,7 @@ private fun SingleTopicButton(
) { ) {
Surface( Surface(
modifier = Modifier modifier = Modifier
.width(264.dp) .width(312.dp)
.heightIn(min = 56.dp), .heightIn(min = 56.dp),
shape = RoundedCornerShape(corner = CornerSize(8.dp)), shape = RoundedCornerShape(corner = CornerSize(8.dp)),
color = MaterialTheme.colorScheme.surface, color = MaterialTheme.colorScheme.surface,
@ -363,7 +363,7 @@ private fun SingleTopicButton(
text = name, text = name,
style = NiaTypography.titleSmall, style = NiaTypography.titleSmall,
modifier = Modifier modifier = Modifier
.padding(12.dp) .padding(horizontal = 12.dp)
.weight(1f), .weight(1f),
color = MaterialTheme.colorScheme.onSurface color = MaterialTheme.colorScheme.onSurface
) )
@ -544,7 +544,7 @@ fun ForYouScreenTopicSelection() {
FollowableTopic( FollowableTopic(
topic = Topic( topic = Topic(
id = "2", id = "2",
name = "Tools", name = "Publishing and Distribution",
shortDescription = "", shortDescription = "",
longDescription = "", longDescription = "",
url = "", url = "",

Loading…
Cancel
Save