standarize size of input and a buttons

Follow-up of #6580

- [ ] resubmit to 1.x branch