Don't cut off placeholder text in input field.

In #resize_input, if there is no input value, resize input to the width of the placeholder text.