Skip to content

Core block patterns doesn't show correctly #60

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

Closed
Mil1 opened this issue Jan 31, 2022 · 1 comment
Closed

Core block patterns doesn't show correctly #60

Mil1 opened this issue Jan 31, 2022 · 1 comment
Labels
Milestone

Comments

@Mil1
Copy link

Mil1 commented Jan 31, 2022

Hello,

Before, thank you for your Axio !

I activate the Core block patterns and the media stylesheet with:
iframe { max-width: 100%; }

It's broke the preview in sidebar. I add this in editor-gutenberg :
.block-editor__container iframe { max-width: inherit; }

Thanks

@TeemuSuoranta
Copy link
Contributor

Hi!

Sorry to keep you waiting. I'd probably add "front-end" class to body and scope that iframe tweak to apply only on front-end. Root cause is of course that we are not super strict on which styles get applied to front-end and which to editor. In theory this sounds bad but in practice it is most of the time very useful and reduces duplication work and human errors.

@TeemuSuoranta TeemuSuoranta added this to the 6.2.1 milestone Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants