From 905ea9bdc6f78a3ea2a2702dac76576054ea3526 Mon Sep 17 00:00:00 2001 From: Mohammed Shekha Date: Mon, 21 Sep 2020 13:28:14 +0000 Subject: [PATCH] [FIX] hr_expense: scrollbar in list and kanban In the expense list and kanban views, there is always a vertical scrollbar. This is due to the presence of a custom statusbar displayed above the view. This commit overrides the 'height: 100%' and 'min-height: 100%' rules set on those views to remove the scrollbar. task-2334044 closes odoo/odoo#63681 X-original-commit: d544e584c38f27f8a43f8939d51118f6bf2e0bdc Signed-off-by: Aaron Bohy (aab) --- addons/hr_expense/static/src/scss/hr_expense.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/hr_expense/static/src/scss/hr_expense.scss b/addons/hr_expense/static/src/scss/hr_expense.scss index 7d2e055d415..5c0d1e8484d 100644 --- a/addons/hr_expense/static/src/scss/hr_expense.scss +++ b/addons/hr_expense/static/src/scss/hr_expense.scss @@ -25,6 +25,12 @@ color: $o-enterprise-color; } } +.hr_expense { + &.o_list_view, &.o_kanban_view { + height: auto; + min-height: auto; + } +} .hr_expense .o_view_nocontent { top: 10%; }