input: Add ability to take all available width

Close #704