-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
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 (or auto
to begin with) aspect ratios data views can make better use of space.
Current patterns grid with square previews
Patterns grid with auto
aspect ratio
User 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.
- Enable data views to set
aspect-ratio: auto
for preview fields. - Add toggle so that users can swap between
1/1
andauto
.
Metadata
Metadata
Assignees
Labels
[Feature] DataViewsWork surrounding upgrading and evolving views in the site editor and beyondWork surrounding upgrading and evolving views in the site editor and beyond[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Projects
Status
Needs Dev