summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2020-09-21 13:28:14 +0000
committerAaron Bohy <aab@odoo.com>2020-12-22 08:39:40 +0000
commitd544e584c38f27f8a43f8939d51118f6bf2e0bdc (patch)
tree92e43c595feb9e6f65063db4cdabee688fbfa39f /addons
parentcde5aa70bfa2592364a2126ef281552046f98ce9 (diff)
[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#58138 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/hr_expense/static/src/scss/hr_expense.scss6
1 files changed, 6 insertions, 0 deletions
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%;
}