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;