replaced width with min-width