Fix layout & min/max-dimension CSS