From ca6382832e1a686f355ffa4958e539c3546a0bf0 Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Fri, 24 Jul 2020 17:37:37 +0300 Subject: [PATCH] Redo the datepicker z-index fix that didn't work because it has been applied only to the div.legacy, but as datepicker is appended to the end of the document it's outside the element. Also making the number a lot bigger to account for a large amount of tasks, which cause higher z-indexes. Fixes #2245. --- app/assets/stylesheets/application.scss | 4 ++++ app/assets/stylesheets/legacy.scss | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index f8bb446b..32baec8f 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -53,3 +53,7 @@ body { color: $text-color; background-color: $body-bg; } + +.ui-datepicker { + z-index: 999999 !important; +} diff --git a/app/assets/stylesheets/legacy.scss b/app/assets/stylesheets/legacy.scss index cc5f1916..9b043021 100644 --- a/app/assets/stylesheets/legacy.scss +++ b/app/assets/stylesheets/legacy.scss @@ -1349,10 +1349,6 @@ div.auto_complete { } } -.ui-datepicker { - z-index: 1000 !important; -} - .ui-autocomplete-loading { background: white image-url('ui-anim_basic_16x16.gif') right center no-repeat; }