Fixed layering issues regarding popouts/contextmenu and navbar

Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
0xf8 2023-02-25 12:24:58 -05:00
parent 5f09177b2d
commit 3229939abb
Signed by: 0xf8
GPG Key ID: 446580D758689584
4 changed files with 3 additions and 7 deletions

View File

@ -22,8 +22,6 @@ span#title {
justify-content: center; justify-content: center;
z-index: 1;
overflow: scroll; overflow: scroll;
position: absolute; position: absolute;
margin: 0; margin: 0;

View File

@ -55,7 +55,7 @@ class ContextMenu {
return false; return false;
global_ActiveContextMenu = this; global_ActiveContextMenu = this;
$("div#container").append(this.overlay); $("root").append(this.overlay);
$(document).one("click", async (ev) => { $(document).one("click", async (ev) => {
ev.preventDefault(); ev.preventDefault();
@ -98,7 +98,7 @@ class Popout {
return; return;
global_ActivePopout = this; global_ActivePopout = this;
$("div#container").append(this.overlay); $("root").append(this.overlay);
this.overlay.one("click", (event) => { this.overlay.one("click", (event) => {
event.preventDefault(); event.preventDefault();

View File

@ -5,8 +5,6 @@ $fa-font-path: "fa/";
div#navbar { div#navbar {
position: fixed; position: fixed;
top: 0;
height:fit-content; height:fit-content;
width: 100vw; width: 100vw;

View File

@ -10,7 +10,7 @@ const settings = new Settings();
window.onload = async() => { window.onload = async() => {
// console.log(settings.config.keys());
} }