Open richtabor opened 6 months ago
While it'd be nice to have to declare viewport width for patterns (https://github.com/WordPress/pattern-directory/issues/614), we need a consistent default first.
I believe the one supplied by the pattern directory is 800px, which did match GB at some point. What is the current gutenberg default?
Is this something we can fix?
We're about to kick up Twenty Twenty Five, which will likely use the directory to house patterns—but I consider this a blocker, as the patterns don't look great coming in with a different viewport width than any included in the theme.
Describe the bug
The default viewport width for patterns from the directory is a different value than the default in core.
The visual below is of the same pattern, one from the directory and the other duplicated from it. This test is with using the Assembler theme, but this occurs for any pattern served from the directory.
The scale of patterns served from the directory are zoomed in further, with a smaller viewport width, than the same patterns from on the site.
To Reproduce Steps to reproduce the behavior:
Expected behavior The patterns should have the same default scaling, regardless of source.
Additional visual
Here's an example using a core pattern that is already served to WordPress sites: