diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-06-22 13:41:32 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-06-22 15:30:37 +0200 |
| commit | e4d3dfba49b736740522cfcb89797d90ffd4604d (patch) | |
| tree | d1572aca16eaeeeeee26000c67a811d2881d3a92 /addons/web | |
| parent | 72003ca530722a38fa53dd46567f6b948ab70e73 (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')
| -rw-r--r-- | addons/web/static/src/less/views.less | 4 |
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; |
