From 948d1009b11c297bec5365a72e81f2b0ab447e74 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 8 Jan 2021 15:30:44 +0100 Subject: [PATCH] Fix calendar pos 2 --- module/rdd-calendrier.js | 2 -- styles/simple.css | 3 --- 2 files changed, 5 deletions(-) diff --git a/module/rdd-calendrier.js b/module/rdd-calendrier.js index 553c9a36..14e48b20 100644 --- a/module/rdd-calendrier.js +++ b/module/rdd-calendrier.js @@ -476,8 +476,6 @@ export class RdDCalendrier extends Application { elmnt.style.bottom = null elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; - elmnt.style.position = 'fixed'; - elmnt.style.zIndex = 100; } function closeDragElement() { diff --git a/styles/simple.css b/styles/simple.css index aa608de5..1ccbbce2 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -970,10 +970,7 @@ ul, li { /* CALENDAR STUFF */ #calendar-time-container{ position: absolute; - bottom: 75px; - left: 223px; display: block; - position: 'fixed'; } #calendar{ min-width: 150px;