Skip to content

Commit

Permalink
Fixed issue where context menu and drop down list may appear over the…
Browse files Browse the repository at this point in the history
… title bar (DevToys-app#1425)
  • Loading branch information
veler authored Oct 23, 2024
1 parent 581b05f commit a8f22e5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/dev/DevToys.Blazor/Assets/javascript/popover.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app/dev/DevToys.Blazor/Assets/javascript/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class Popover {
}

popoverContentNode.style["left"] = (left + offsetX) + "px";
popoverContentNode.style["top"] = (top + offsetY) + "px";
popoverContentNode.style["top"] = Math.max(top + offsetY, 32) + "px";

if (window.getComputedStyle(popoverNode).getPropertyValue("z-index") != "auto") {
popoverContentNode.style["z-index"] = window.getComputedStyle(popoverNode).getPropertyValue("z-index");
Expand Down
2 changes: 1 addition & 1 deletion src/app/dev/DevToys.Blazor/wwwroot/css/devtoys.g.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/app/dev/DevToys.Blazor/wwwroot/js/devtoys.g.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8f22e5

Please sign in to comment.