Make the input field fit with percentages and centerize it