Remove widget class on form-item
The widget class is set on the content of the form-item. Having it twice apply margin or padding twice.
This commit is contained in:
@@ -589,7 +589,7 @@ function eval_pyson(value){
|
||||
el = widget.el;
|
||||
}
|
||||
var cell = jQuery('<div/>', {
|
||||
'class': 'form-item ' + (widget ? widget.class_ || '' : ''),
|
||||
'class': 'form-item',
|
||||
}).append(el);
|
||||
cell.css('grid-column', `${this._col} / ${this._col + colspan}`);
|
||||
cell.css('grid-row', `${this._row} / ${this._row + 1}`);
|
||||
|
||||
Reference in New Issue
Block a user