summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshivam shah <shs@odoo.com>2020-09-14 05:57:51 +0000
committerBarad Mahendra <mba@openerp.com>2020-09-24 06:52:30 +0000
commit7ba0bc47d1404d5ac4bbf8cb5dcca7937558bd1a (patch)
treec2126767a6539dd11991d80bf3c16c4a9d4b18a3
parenta130784131c84326b2482ab3c4eea6e0bb3d881c (diff)
[FIX] hr_expense: Fix design issue of hr expense banner
purpose of task is to solve the design issue on hr expense banner when there is horizontal scrolling on tree view then the banner on top will not adapt it so there is empty space at last. So in this commit, Fix the position of the expense header so it should not scroll with the tree. closes odoo/odoo#58289 Taskid: 2336309 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
-rw-r--r--addons/hr_expense/static/src/scss/hr_expense.scss4
1 files changed, 4 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 cdd8398375e..7d2e055d415 100644
--- a/addons/hr_expense/static/src/scss/hr_expense.scss
+++ b/addons/hr_expense/static/src/scss/hr_expense.scss
@@ -13,6 +13,10 @@
}
}
+ .o_expense_container {
+ @include o-position-sticky($left: 0px);
+ }
+
.o_expense_card_last {
border-right: 0px;
}