From e2bca072075d066e98ddc39e0c900f80f86810ba Mon Sep 17 00:00:00 2001 From: "Nasreddin (bon)" Date: Thu, 21 Jan 2021 15:28:27 +0000 Subject: [PATCH] [FIX] web: Show scroll in report view search filter Issue - Install "Accounting" module - Ensure there is more then 20 journals ( or must do a zoom-in on the browser) - Go to Accounting -> Reporting -> Profit and Loss - Click on "Journals" filter Not all journals are displayed. Cause No scroll or max-height set on dropdown. Solution Set a max-height and an overflow:auto on `.dropdown-menu` and `o_dropdown_menu` css classes. opw-2430101 closes odoo/odoo#65167 X-original-commit: cf351ae49875ec7d28a18747b65ed2a61f55262b Signed-off-by: Aaron Bohy (aab) Signed-off-by: bon-odoo --- addons/web/static/src/scss/dropdown_menu.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/scss/dropdown_menu.scss b/addons/web/static/src/scss/dropdown_menu.scss index d2da44a3125..d159d009d74 100644 --- a/addons/web/static/src/scss/dropdown_menu.scss +++ b/addons/web/static/src/scss/dropdown_menu.scss @@ -4,8 +4,6 @@ } min-width: 150px; - max-height: calc(100vh - 140px); // FIXME - overflow: auto; .o_menu_item { position: relative; @@ -20,6 +18,11 @@ } } +.o_dropdown_menu, .dropdown-menu { + max-height: calc(100vh - 140px); // FIXME + overflow: auto; +} + .dropdown-item { position: relative; color: $o-main-text-color;