summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorMohammed Shekha <msh@odoo.com>2020-08-11 12:32:44 +0000
committerMohammed Shekha <msh@odoo.com>2020-10-05 09:03:29 +0000
commit5461efc9620a6ff6f0d61cd2a15676c6b9c58fd7 (patch)
tree449fd1fee8bb6fd9ef046326108097d78a69f67f /addons/web/static
parentdc329e413fff1cb30a51a14ac0a073e7175c2468 (diff)
[FIX] web: show no content helper message in center
no content helper message is displayed in bottom in modal when there is sample data, when no content helper message is displayed in modal and there is sample data the ndisplay no content message in center which is not the case for modal. To produce this issue: go to Expense -> Create Expense -> Create expense line and if there is not expense line then sample data is displayed and no content helper message is displayed at bottom of sample data, it should be displayed in center of sample data with blurry effect. With this commit this issue has been fixed. Task-2311408 closes odoo/odoo#55992 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/scss/modal.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/modal.scss b/addons/web/static/src/scss/modal.scss
index c44e5239fdc..d5faa77177d 100644
--- a/addons/web/static/src/scss/modal.scss
+++ b/addons/web/static/src/scss/modal.scss
@@ -28,7 +28,7 @@
}
}
- .o_view_nocontent {
+ > :not(.o_view_sample_data) .o_view_nocontent {
position: unset;
}