From 4d63f88ca8151090942467922d36a89be7356617 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 8 Jan 2021 14:22:36 +0100 Subject: [PATCH] =?UTF-8?q?#108=20fen=C3=AAtre=20astrologie=20"cache"=20le?= =?UTF-8?q?s=20=C3=A9l=C3=A9ments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit placer le s-index dans le bon div --- .gitignore | 3 +++ module/rdd-calendrier.js | 2 -- styles/simple.css | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5fbfb325 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vscode/settings.json +todo.txt +todo.md diff --git a/module/rdd-calendrier.js b/module/rdd-calendrier.js index 079640c6..553c9a36 100644 --- a/module/rdd-calendrier.js +++ b/module/rdd-calendrier.js @@ -309,8 +309,6 @@ export class RdDCalendrier extends Application { let yPos = (pos.top) > window.innerHeight-20 ? window.innerHeight-100 : pos.top; elmnt.style.top = (yPos) + "px"; elmnt.style.left = (xPos) + "px"; - elmnt.style.position = 'fixed'; - elmnt.style.zIndex = 100; resolve(); } else { setTimeout(check, 30); diff --git a/styles/simple.css b/styles/simple.css index 07b470fb..aa608de5 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -972,7 +972,8 @@ ul, li { position: absolute; bottom: 75px; left: 223px; - display: block; + display: block; + position: 'fixed'; } #calendar{ min-width: 150px; @@ -986,6 +987,7 @@ ul, li { border-radius: 3%; background: rgba(0, 0, 0, 0.5); font-family: "GoudyAcc"; + z-index: 100; } #calendar-hdr{ display: grid;