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

Gutenberg: Apply box-sizing: border-box to the entire section #27928

Merged
merged 1 commit into from
Oct 19, 2018

Conversation

Copons
Copy link
Contributor

@Copons Copons commented Oct 18, 2018

Changes proposed in this Pull Request

Alt approach to #27914

  • Apply box-sizing: border-box to the entire Gutenberg section

Testing instructions

  • Smoke test Gutenberg at http://calypso.localhost:3000/gutenberg/post/, and see that most things look good (probably right now only the checkboxes and radio buttons in the sidebar looks wrong).

Fixes #27651

@Copons Copons added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Goal] Gutenberg Working towards full integration with Gutenberg labels Oct 18, 2018
@Copons Copons self-assigned this Oct 18, 2018
@Copons Copons requested a review from a team October 18, 2018 11:45
@matticbot
Copy link
Contributor

@ghost
Copy link

ghost commented Oct 18, 2018

That's a great PR description, thank you so much for your effort!

Generated by 🚫 dangerJS

.editor-block-list__block {
ul ul, ol ol {
list-style-type: circle;
z-index: 100000; // Above WP toolbar.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its-over-9000-gif-1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
}
}

//needed for oembed iframes to appear
.wp-block-embed__wrapper > iframe {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need this, because box-sizing updates don't seem related?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually tested this by following the instructions included in #27486 and I couldn't see any problems with the Oembed block.
@gwwar do you happen to remember if there are corner cases to check here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through the original testing steps too and confirmed that it works as expected even without these styles. 👍Might be the case that package updates made this fix obsolete.

Copy link
Member

@vindl vindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! :shipit:

@vindl vindl added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Oct 18, 2018
@Copons Copons merged commit d7fd308 into master Oct 19, 2018
@Copons Copons deleted the try/fix-gutenberg-style branch October 19, 2018 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Goal] Gutenberg Working towards full integration with Gutenberg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants