-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patterns have a different viewport width than the default in core #683
Comments
While it'd be nice to have to declare viewport width for patterns (#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? |
Looks like 1200 (source). |
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:
The text was updated successfully, but these errors were encountered: