implement minSize via css.