How to change button field height and width!

Hello Community,
My question is how I can change the property of button field in the doctype, change its height and width for example

Thanks all

Buttons have bootstrap classes. You can remove btn-xs class and add btn-sm class to the button using JavaScript/jQuery.
You will have to do this in custom script.

1 Like

Thank you for replying, but is there another solution for it !?

Hope it works:
$("[data-fieldname=approver_btn]").css(‘background-color’, “RosyBrown”);
document.querySelectorAll("[data-fieldname=‘approver_btn’]")[1].style.height=“35px”;
document.querySelectorAll("[data-fieldname=‘approver_btn’]")[1].style.width=“350px”;