diff --git a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/favorite/FavoriteScreen.kt b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/favorite/FavoriteScreen.kt index 96098df9..c75917d0 100644 --- a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/favorite/FavoriteScreen.kt +++ b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/favorite/FavoriteScreen.kt @@ -63,7 +63,7 @@ private fun ExpandedView(component: FavoriteComponent) { horizontalArrangement = Arrangement.spacedBy(16.dp) ) { val modifier = if (childState.child?.configuration != null) { - Modifier.widthIn(max = 700.dp) + Modifier.weight(1F).widthIn(min = 100.dp, max = 700.dp) } else { Modifier.fillMaxWidth() } diff --git a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/home/HomeScreen.kt b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/home/HomeScreen.kt index 4025e2c6..35fd2505 100644 --- a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/home/HomeScreen.kt +++ b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/home/HomeScreen.kt @@ -96,7 +96,7 @@ private fun ExpandedView(home: Home, component: HomeComponent) { horizontalArrangement = Arrangement.spacedBy(16.dp) ) { val modifier = if (childState.child?.configuration != null) { - Modifier.widthIn(max = 700.dp) + Modifier.weight(1F).widthIn(min = 100.dp, max = 700.dp) } else { Modifier.fillMaxWidth() } diff --git a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/search/SearchScreen.kt b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/search/SearchScreen.kt index d2a593c5..96ffe188 100644 --- a/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/search/SearchScreen.kt +++ b/app/shared/src/commonMain/kotlin/dev/datlag/burningseries/shared/ui/screen/initial/search/SearchScreen.kt @@ -82,7 +82,7 @@ private fun ExpandedView(component: SearchComponent) { horizontalArrangement = Arrangement.spacedBy(16.dp) ) { val modifier = if (childState.child?.configuration != null) { - Modifier.widthIn(max = 700.dp) + Modifier.weight(1F).widthIn(min = 100.dp, max = 700.dp) } else { Modifier.fillMaxWidth() }