fix css for coa dialog in setup wizard (#14793)
This commit is contained in:
parent
4412f10918
commit
c1225a84cc
@ -268,13 +268,12 @@ erpnext.setup.slides_settings = [
|
|||||||
});
|
});
|
||||||
|
|
||||||
// add class to show buttons side by side
|
// add class to show buttons side by side
|
||||||
$('.modal-content .form-column').addClass('row');
|
const form_container = $(dialog.body).find('form');
|
||||||
$('div[data-fieldname="collapse_all"]')
|
const buttons = $(form_container).find('.frappe-control');
|
||||||
.addClass('col-sm-2 col-xs-3')
|
form_container.addClass('flex');
|
||||||
.css({"width": "auto"});
|
buttons.map((index, button) => {
|
||||||
$('div[data-fieldname="expand_all"]')
|
$(button).css({"margin-right": "1em"});
|
||||||
.addClass('col-sm-2 col-xs-3')
|
})
|
||||||
.css({"width": "auto"});
|
|
||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
coa_tree.load_children(coa_tree.root_node, true); // expand all node trigger
|
coa_tree.load_children(coa_tree.root_node, true); // expand all node trigger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user