set the width value of input fields to the max parent width value