Skip to content

Commit edb5ce3

Browse files
Copilotlstein
andauthored
Increase UMAP fullscreen controlsHeight to prevent overlap with bottom panels (#174)
* Initial plan * Increase controlsHeight to 230px to prevent overlap with bottom panels Co-authored-by: lstein <[email protected]> * Add comment explaining controlsHeight calculation Co-authored-by: lstein <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: lstein <[email protected]> Co-authored-by: Lincoln Stein <[email protected]>
1 parent 811bc6f commit edb5ce3

File tree

1 file changed

+3
-1
lines changed
  • photomap/frontend/static/javascript

1 file changed

+3
-1
lines changed

photomap/frontend/static/javascript/umap.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,9 @@ function setUmapWindowSize(sizeKey) {
14531453
} else if (sizeKey === "fullscreen") {
14541454
const narrowScreen = window.innerWidth <= 600;
14551455
if (contentDiv) contentDiv.style.display = "block";
1456-
const controlsHeight = 180;
1456+
// controlsHeight: space reserved below plot for UMAP controls (~120px with radio buttons)
1457+
// plus clearance for bottom ControlPanel/SearchPanel (~110px)
1458+
const controlsHeight = 230;
14571459
win.style.left = "0px";
14581460
win.style.top = "0px";
14591461
win.style.width = window.innerWidth + "px";

0 commit comments

Comments
 (0)