Skip to content

Commit

Permalink
PKGS-1284 [hot-fix] Details panel should have a minimum width
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarponi committed Dec 4, 2023
1 parent a04db74 commit 78b8af3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ fun PackageSearchPackagePanel(
if (isInfoPanelOpen) {
HorizontalSplitLayout(
modifier = it,
initialDividerPosition = 700.dp,
initialDividerPosition = 900.dp,
first = { PackageSearchCentralPanel(it, onLinkClick) },
second = { PackageSearchInfoPanel(it, onLinkClick, onPackageEvent) }
second = { PackageSearchInfoPanel(it, onLinkClick, onPackageEvent) },
maxRatio = 0.8f
)
} else PackageSearchCentralPanel(it, onLinkClick)
}
},
minRatio = 0.1f,
)
}

0 comments on commit 78b8af3

Please sign in to comment.