-
Notifications
You must be signed in to change notification settings - Fork 4.6k
FontFamilyControl: Hard deprecate bottom margin #73340
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
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: -145 B (-0.01%) Total Size: 2.51 MB
ℹ️ View Unchanged
|
mirka
left a comment
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.
Thanks for the cleanup! I also found one usage we can remove:
gutenberg/packages/block-editor/src/components/global-styles/typography-panel.js
Lines 444 to 450 in 6b306fc
| <FontFamilyControl | |
| fontFamilies={ fontFamilies } | |
| value={ fontFamily } | |
| onChange={ setFontFamily } | |
| size="__unstable-large" | |
| __nextHasNoMarginBottom | |
| /> |
Good catch! Fixed in 306c9cc |
* FontFamilyControl: Hard deprecate bottom margin * Remove unnecessary __nextHasNoMarginBottom prop Co-authored-by: t-hamano <[email protected]> Co-authored-by: mirka <[email protected]>
Part of #39358
What?
Hard deprecate the
__nextHasMarginBottomprop from the hoge component.Why?
See #39358
Testing Instructions
Storybook
Gutenberg
In the Gutenberg project, this component is used exclusively in typography. There should be no visual changes.