Skip to content

Commit

Permalink
fix #72
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed Mar 15, 2024
1 parent 17e0344 commit dd089a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit dd089a1

Please sign in to comment.