changed width to max-width