Corrects dimension attributes and improves rendering of columns at smaller viewports.
Fixes #25311 (closed).