From 44d8255ee73776fd0bdf7427024f145c6bded503 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 21 Jun 2017 15:49:43 +0200 Subject: [PATCH] [FIX] web: make datepickers visible in modals Following commit 3741603495532e218b66f3cfa0272e4536f1cf2c: Datepickers are indeed able to overflow their parent which scrolls. However, they were not put above modals anymore. --- addons/web/static/src/less/datepicker.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/less/datepicker.less b/addons/web/static/src/less/datepicker.less index bc36f8c5a43..99c909efacc 100644 --- a/addons/web/static/src/less/datepicker.less +++ b/addons/web/static/src/less/datepicker.less @@ -28,6 +28,13 @@ } } +// Need to put datetimepicker widget above everything else +// The '.dropdown-menu' part is needed to override default bootstrap rule as +// this file is unfortunately placed in common assets. +.bootstrap-datetimepicker-widget.dropdown-menu { + z-index: @zindex-modal + 1; +} + .datepicker { .table-condensed { > thead { @@ -66,5 +73,5 @@ } } } - } + } }