mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-27 03:22:53 +00:00
fix: adjust layout constraints and increase max lines for text display
This commit is contained in:
parent
ec53965105
commit
7beefd4c5f
1 changed files with 3 additions and 2 deletions
|
|
@ -361,8 +361,9 @@ internal fun HomescreenCatalogRow(
|
|||
) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.padding(end = 12.dp)
|
||||
.widthIn(max = if (isTablet) 560.dp else 260.dp),
|
||||
.then(if (isTablet) Modifier.widthIn(max = 560.dp) else Modifier),
|
||||
verticalArrangement = Arrangement.spacedBy(4.dp),
|
||||
) {
|
||||
Text(
|
||||
|
|
@ -370,7 +371,7 @@ internal fun HomescreenCatalogRow(
|
|||
style = MaterialTheme.typography.bodyLarge,
|
||||
color = MaterialTheme.colorScheme.onSurface,
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
maxLines = 1,
|
||||
maxLines = 2,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
Text(
|
||||
|
|
|
|||
Loading…
Reference in a new issue