Input field adapting its size to its content