The button with the text and the size "m" has an indentation on the left of 12px.
A TextInput with text and size "m" has an indentation of 8px on the left.
If you put them under each other in the interface, it looks bad.
It seems that the indentation on the left should be unified