[FIX] web: position of the no content helper was wrong on the list view

This commit is contained in:
Vincent Schippefilt
2018-02-02 15:19:38 +01:00
parent 29896cf683
commit 97cba0c50e
2 changed files with 14 additions and 2 deletions
@@ -301,6 +301,16 @@ var KanbanRenderer = BasicRenderer.extend({
}
}
},
/**
* @private
* @override
* adds a specific class to the kanban helper so that it can be targetted by specific css
*/
_renderNoContentHelper: function() {
var $el = this._super.apply(this, arguments);
$el.toggleClass('o_kanban_view_nocontent',true)
return $el;
},
/**
* Renders an ungrouped kanban view in a fragment.
*
+4 -2
View File
@@ -46,8 +46,10 @@
}
.o_view_nocontent {
.o-position-absolute(20%, 0, 0, 0);
pointer-events: none;
&.o_kanban_view_nocontent {
.o-position-absolute(20%, 0, 0, 0);
pointer-events: none;
}
.o_nocontent_help {
pointer-events: auto;