mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 10:12:18 +00:00
fix(ui): a side of a midpoint block thinner than 8% of the window holds no panel; pin the lower merge edge
Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
378df7b613
commit
10dbd2f937
5 files changed
+22
-6
No files matched your search
@@ -169,6 +169,8 @@ export function layoutLeftPanelRail({
|
||||
bottom: safeBottom,
|
||||
obstacles: inLane,
|
||||
gap: safeGap,
|
||||
// A side thinner than this holds no usable panel.
|
||||
minimum: viewportHeight * 0.08,
|
||||
});
|
||||
if (beside) {
|
||||
obstacleSafeTop = beside.top;
|
||||
|
||||
Reference in new issue
Block a user