Reduce focus scaling on cards to prevent overflow

- Settings items: Disable scaling (1.0f) to prevent overflow
- TMDB toggle cards: Disable scaling (1.0f)
- Theme cards: Reduce from 1.05f to 1.02f
- Content cards: Reduce from 1.05f to 1.02f
- Continue watching cards: Reduce from 1.05f to 1.02f
- Episode cards: Reduce from 1.05f to 1.02f
This commit is contained in:
CrissZollo 2026-02-02 21:06:43 +01:00
parent 2ece9e544a
commit 76e49706d4
6 changed files with 8 additions and 6 deletions

View file

@ -83,7 +83,7 @@ fun ContentCard(
)
),
scale = CardDefaults.scale(
focusedScale = 1.05f
focusedScale = 1.02f
)
) {
Box(

View file

@ -110,7 +110,7 @@ private fun ContinueWatchingCard(
)
),
scale = CardDefaults.scale(
focusedScale = 1.05f
focusedScale = 1.02f
)
) {
Column {

View file

@ -169,7 +169,7 @@ private fun EpisodeCard(
)
),
scale = CardDefaults.scale(
focusedScale = 1.05f
focusedScale = 1.02f
)
) {
Column {

View file

@ -149,7 +149,8 @@ private fun SettingsItem(
shape = RoundedCornerShape(12.dp)
)
),
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
scale = CardDefaults.scale(focusedScale = 1.0f)
) {
Row(
modifier = Modifier

View file

@ -123,7 +123,7 @@ private fun ThemeCard(
)
),
shape = CardDefaults.shape(RoundedCornerShape(16.dp)),
scale = CardDefaults.scale(focusedScale = 1.05f)
scale = CardDefaults.scale(focusedScale = 1.02f)
) {
Column(
modifier = Modifier

View file

@ -182,7 +182,8 @@ private fun ToggleCard(
shape = RoundedCornerShape(12.dp)
)
),
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
scale = CardDefaults.scale(focusedScale = 1.0f)
) {
Row(
modifier = Modifier