Changing the width of the input field when not in edit mode