summaryrefslogtreecommitdiff
path: root/addons/board/static
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-11-27 14:22:24 +0000
committerlen-odoo <len@odoo.com>2018-11-27 15:08:34 +0000
commit7d2fd1d1b4cb88007d148f5ef13eee799b9423e9 (patch)
tree712678d4c494a9a0062b2b7392bdb1452e3da741 /addons/board/static
parenta67553c9d2a7a5fcb28e44a5fbd5c245d851b91d (diff)
[FIX] board: do not display the no_content_create div
That div has been given an absolute position, which does not work inside another div on the dashboard. If there are other dashboard elements below, there are unusable since they are covered by the no_content_create div. Moreover, there is no create button on the dashboard, so we shouldn't even see it. It also spares us from seeing that hideous clippy-inspired smiling paper sheet. opw 1907650 closes odoo/odoo#29076
Diffstat (limited to 'addons/board/static')
-rw-r--r--addons/board/static/src/scss/dashboard.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/board/static/src/scss/dashboard.scss b/addons/board/static/src/scss/dashboard.scss
index 683bdf52eaf..08cd66a09c1 100644
--- a/addons/board/static/src/scss/dashboard.scss
+++ b/addons/board/static/src/scss/dashboard.scss
@@ -112,6 +112,9 @@
&.oe_folded {
display: none;
}
+ .o_view_nocontent {
+ display: none; // we don't have a create button on the dashboard, so no need to display that
+ }
}
// Override border of many2manytags defined for form_views