Fixed layering issues regarding popouts/contextmenu and navbar
Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
parent
5f09177b2d
commit
3229939abb
@ -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;
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ const settings = new Settings();
|
|||||||
|
|
||||||
|
|
||||||
window.onload = async() => {
|
window.onload = async() => {
|
||||||
// console.log(settings.config.keys());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user