Follow jsfiddle: link
The first code is correct, but in the second code I put a button on the side and the input got smaller. Why does this happen?
I want to leave the same code equal but with a right-hand button.
See the image:
Where I made a red risk, took up space and I do not understand why.