min-width and min-height should use inherit, not auto