From 3229939abb738d3e55578fea43042e07964500d4 Mon Sep 17 00:00:00 2001 From: 0xf8 <0xf8.dev@proton.me> Date: Sat, 25 Feb 2023 12:24:58 -0500 Subject: [PATCH] Fixed layering issues regarding popouts/contextmenu and navbar Signed-off-by: 0xf8 <0xf8.dev@proton.me> --- web/www/gallery.html.scss | 2 -- web/www/gallery.html.tsx | 4 ++-- web/www/navbar.scss | 2 -- web/www/settings.html.tsx | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/web/www/gallery.html.scss b/web/www/gallery.html.scss index cc585ff..3ec88d6 100644 --- a/web/www/gallery.html.scss +++ b/web/www/gallery.html.scss @@ -22,8 +22,6 @@ span#title { justify-content: center; - z-index: 1; - overflow: scroll; position: absolute; margin: 0; diff --git a/web/www/gallery.html.tsx b/web/www/gallery.html.tsx index b2023b8..192d7b4 100644 --- a/web/www/gallery.html.tsx +++ b/web/www/gallery.html.tsx @@ -55,7 +55,7 @@ class ContextMenu { return false; global_ActiveContextMenu = this; - $("div#container").append(this.overlay); + $("root").append(this.overlay); $(document).one("click", async (ev) => { ev.preventDefault(); @@ -98,7 +98,7 @@ class Popout { return; global_ActivePopout = this; - $("div#container").append(this.overlay); + $("root").append(this.overlay); this.overlay.one("click", (event) => { event.preventDefault(); diff --git a/web/www/navbar.scss b/web/www/navbar.scss index fc4c71a..4ca155d 100644 --- a/web/www/navbar.scss +++ b/web/www/navbar.scss @@ -5,8 +5,6 @@ $fa-font-path: "fa/"; div#navbar { position: fixed; - top: 0; - height:fit-content; width: 100vw; diff --git a/web/www/settings.html.tsx b/web/www/settings.html.tsx index 19da4b3..5da7636 100644 --- a/web/www/settings.html.tsx +++ b/web/www/settings.html.tsx @@ -10,7 +10,7 @@ const settings = new Settings(); window.onload = async() => { - // console.log(settings.config.keys()); + }