Skip to content
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

fix pattern file header #412

Merged
merged 1 commit into from
Jun 3, 2024
Merged

fix pattern file header #412

merged 1 commit into from
Jun 3, 2024

Conversation

cedric07
Copy link
Contributor

@cedric07 cedric07 commented May 31, 2024

Ajout de Viewport width, car on a souvent le soucis sur les preview de pattern dans la colonne de gauche on a toujours une vue responsive car les breakpoint sont pris en compte.

Avec ça on force l'iframe de la preview à s'afficher à la bonne largeur (donc largeur du container desktop par exemple)

Viewport Width: The width of the <iframe> viewport when previewing the pattern (in pixels).

https://developer.wordpress.org/themes/patterns/registering-patterns/

@francoistibo francoistibo merged commit 984fa6d into master Jun 3, 2024
2 of 3 checks passed
@francoistibo francoistibo deleted the feat/pattern-width branch June 3, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants