-
Notifications
You must be signed in to change notification settings - Fork 3
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
Chore: Adds embed object mixin #754
Conversation
…atterns into chore/gutenberg-core-image
I was wondering if either of you would be able to review the current state of this PR, which only introduces a change that converts the existing CSS styles for My primary question is if I handled the Prior to these changes the cloudfour.com-patterns/src/objects/embed/embed.scss Lines 87 to 102 in b406c48
For the new mixin, I inverted these: @mixin object {
@supports (--custom: property) {
... |
@derekshirk I tried it out locally and it seems fine to me. The way I tested was that I changed the |
💥 No ChangesetLatest commit: b7f2bff Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂 If these changes should be published to npm, you need to add a changeset. Click here to learn what changesets are, and how to add one. Click here if you're a maintainer who wants to add a changeset to this PR |
As I understand it, this PR does not require a changeset. |
…atterns into chore/gutenberg-core-image
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I'm reading this wrong, this will result in no actual changes to the compiled CSS, so no objections here.
Overview
This PR was originally intended to address the needs of styling the Gutenberg core/image block. After further effort I realize that the work represented here thus far, no longer meets the needs of that goal.
However, the embed object mixin may still be a meaningful addition. This pull request accomplices the following:
o-embed
to make use of available mixinI am opening this up for review as is. What do you think? Are these changes worth introducing even though they aren't aligned with the original intent of styling the Gutenberg core/image block?
Gutenberg core/image block styles will be addressed and added via #802
Testing
See #710