-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Try: Remove iframe 100% width rule. #38614
Conversation
Size Change: -17 B (0%) Total Size: 1.14 MB
ℹ️ View Unchanged
|
Not at all urgent, but in case you have a cycle to take a look, @MaggieCabrera, I'd love your eyes on this one. If the suggestion is "let's keep it", I'm totally fine with that as well. |
I've been looking at the back and forth with this rule and overall it seems like the right to go about this is removing it. There's certainly the main issue where frontend and editor don't match, which alone is enough to justify this PR. I've tested the following on a block theme without extra CSS:
And they work as expected with this PR. The embed block already has a |
Thank you, those are excellent thoughts. I agree just syncing up editor and frontend is enough justification. I'll land this and be vigilant about any followups we need to make, including outputting this rule also on the frontend. |
Description
Addresses #38586.
The following rule is output in the post editor canvas, but not in the site editor canvas:
As discussed in the ticket above, it's creating an inconsistency where it appears to be contained in editor, but not on the frontend. This PR removes the rule, bringing consistency between post editor and frontend, but also post editor and site editor.
Note: this exact same rule was removed in the past as well, in #18240, and then added back again in #18287. Before merging this one, it's worth finding out exactly why it was added back again.
Testing Instructions
Checklist:
*.native.js
files for terms that need renaming or removal).