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

Row item justification not displaying properly in Editor #618

Open
lemswisc opened this issue Jan 19, 2024 · 0 comments
Open

Row item justification not displaying properly in Editor #618

lemswisc opened this issue Jan 19, 2024 · 0 comments
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview [Type] Bug Something isn't working

Comments

@lemswisc
Copy link

Describe the bug
If you put Blocks in a Row with a centered Justification, the items are not centered in the editor.

To Reproduce
I think the easiest way to demonstrate is to show an existing pattern that looks wildly different on the front and back end.
https://wordpress.org/patterns/pattern/new-cta-section/
Copy the pattern into the Pattern editor for the Pattern Directory.
Notice how the buttons are not centered in the Editor.

Expected behavior
The Buttons should be centered in the editor.

Screenshots
Pattern in the editor:
2024-01-19 10_28_15-New Pattern _ WordPress org

Pattern on the directory:
2024-01-19 10_29_04-New CTA Section – Block Pattern _ WordPress org

Desktop (please complete the following information):
Windows 10, Chrome

Additional context
There seem to be bigger issues with Rows/Stacks, but this was the easiest to demonstrate. If you simply fixed-width items in a Group, then toggle between a row and a stack, nothing happens there at all (when they should switch from next to each other and on top of each other). I think the editor CSS around Groups likely needs some updates.

@ryelle ryelle added [Component] Pattern Creator Anything related to the pattern front end editor or preview [Type] Bug Something isn't working labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Pattern Creator Anything related to the pattern front end editor or preview [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants