mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-18 16:01:44 +00:00
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:
parent
2ece9e544a
commit
76e49706d4
6 changed files with 8 additions and 6 deletions
|
|
@ -83,7 +83,7 @@ fun ContentCard(
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
scale = CardDefaults.scale(
|
scale = CardDefaults.scale(
|
||||||
focusedScale = 1.05f
|
focusedScale = 1.02f
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
Box(
|
Box(
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ private fun ContinueWatchingCard(
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
scale = CardDefaults.scale(
|
scale = CardDefaults.scale(
|
||||||
focusedScale = 1.05f
|
focusedScale = 1.02f
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
Column {
|
Column {
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ private fun EpisodeCard(
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
scale = CardDefaults.scale(
|
scale = CardDefaults.scale(
|
||||||
focusedScale = 1.05f
|
focusedScale = 1.02f
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
Column {
|
Column {
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,8 @@ private fun SettingsItem(
|
||||||
shape = RoundedCornerShape(12.dp)
|
shape = RoundedCornerShape(12.dp)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
|
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
|
||||||
|
scale = CardDefaults.scale(focusedScale = 1.0f)
|
||||||
) {
|
) {
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ private fun ThemeCard(
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
shape = CardDefaults.shape(RoundedCornerShape(16.dp)),
|
shape = CardDefaults.shape(RoundedCornerShape(16.dp)),
|
||||||
scale = CardDefaults.scale(focusedScale = 1.05f)
|
scale = CardDefaults.scale(focusedScale = 1.02f)
|
||||||
) {
|
) {
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,8 @@ private fun ToggleCard(
|
||||||
shape = RoundedCornerShape(12.dp)
|
shape = RoundedCornerShape(12.dp)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
|
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
|
||||||
|
scale = CardDefaults.scale(focusedScale = 1.0f)
|
||||||
) {
|
) {
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue