Data views grid layout: Make aspect ratio consumer configurable #60891
Labels
[Feature] DataViews
Work surrounding upgrading and evolving views in the site editor and beyond
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
Related: #60630
Currently the preview field in grid layout renders in a hard-coded
1/1
aspect ratio, IE a square. As a default this works reasonably well, but some consumers would appreciate more expression. Pattern and Template previews for instance can be all kinds of lengths... squares don't always offer the best experience. By allowing custom (orauto
to begin with) aspect ratios data views can make better use of space.Current patterns grid with square previews
Patterns grid with
auto
aspect ratioUser preference
Down the road it might be nice to allow users to customise this display option. Such an affordance would be particularly useful in pages where the preview dimensions can vary significantly, like Media.
aspect-ratio: auto
for preview fields.1/1
andauto
.The text was updated successfully, but these errors were encountered: