[FIX] web: position of the no content helper was wrong on the list view
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user