summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-06-22 13:41:32 +0200
committerAlexandre Kühn <aku@odoo.com>2018-06-22 15:30:37 +0200
commite4d3dfba49b736740522cfcb89797d90ffd4604d (patch)
treed1572aca16eaeeeeee26000c67a811d2881d3a92 /addons/web/static/src/less
parent72003ca530722a38fa53dd46567f6b948ab70e73 (diff)
[FIX] *: nocontent helper style for form view fields
*: hr_gamification, point_of_sale, web Before this commit, no content helper in some form view fields were broken, due to the style of the classname `.o_view_nocontent` that uses an absolute position. This is due to some templates that wrongly use this style for displaying a help message, although this is only valid for views with no record. This commit solves the issue by using another classname for those fields with the nocontent helper, namely `.o_field_nocontent`.
Diffstat (limited to 'addons/web/static/src/less')
-rw-r--r--addons/web/static/src/less/views.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/less/views.less b/addons/web/static/src/less/views.less
index a4a400f1268..fab73c2d541 100644
--- a/addons/web/static/src/less/views.less
+++ b/addons/web/static/src/less/views.less
@@ -40,10 +40,10 @@
// No content helper
.o_view_nocontent {
- .o-position-absolute(20%, 0, 0, 0);
+ .o-position-absolute(20%, 0, 0, 0);
pointer-events: none;
z-index: 1;
-
+
.o_nocontent_help {
pointer-events: auto;
max-width: 650px;