adjust UI layout in StartExerciseScreen and disable text wrapping for action buttons in StartExerciseScreen and HomeScreen

This commit is contained in:
jonasgaudian
2026-02-18 20:58:31 +01:00
parent 37d8c2a6c5
commit d12a21909c
2 changed files with 3 additions and 3 deletions

View File

@@ -364,7 +364,7 @@ fun WeeklyProgressSection(
) { ) {
Text(text = stringResource(R.string.label_weekly_progress), style = MaterialTheme.typography.titleMedium, fontWeight = FontWeight.Bold) Text(text = stringResource(R.string.label_weekly_progress), style = MaterialTheme.typography.titleMedium, fontWeight = FontWeight.Bold)
TextButton(onClick = { navController.navigate(NavigationRoutes.STATS_VOCABULARY_HEATMAP) }) { TextButton(onClick = { navController.navigate(NavigationRoutes.STATS_VOCABULARY_HEATMAP) }) {
Text(stringResource(R.string.label_see_history)) Text(stringResource(R.string.label_see_history), softWrap = false)
} }
} }

View File

@@ -737,9 +737,9 @@ fun NumberOfCardsSection(
availableQuickSelections.forEach { value -> availableQuickSelections.forEach { value ->
AppOutlinedButton( AppOutlinedButton(
onClick = { onAmountChanged(value) }, onClick = { onAmountChanged(value) },
modifier = Modifier.weight(1f).padding(4.dp) modifier = Modifier.weight(1f).padding(0.dp)
) { ) {
Text(text = value.toString()) Text(text = value.toString(), softWrap = false)
} }
} }
} }