Size the input fields to their content, if there is any.