fixed bug where min-height was not being applied