Refs #17444 Copernicus; fix portal width in certain conditions