update css to minisize the form height