change border implementation add min-height to content