User:ARandomCitizen/common.css

.portable-infobox { width: unset; max-width: 500px; min-width: 270px; }

.pi-image img { width: 100%; height: 100%; max-width: 500px; max-height: 500px; object-fit: contain; }