chaneg to max-width and max-height