changed min-width, min-height to width and height