-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Social Links: Fix appender size in non-iframe editor #68215
base: trunk
Are you sure you want to change the base?
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: +40 B (0%) Total Size: 1.84 MB
ℹ️ View Unchanged
|
Flaky tests detected in 5975307. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12443370901
|
Follow-up #65769
What?
#65769 made the appender size of the Social Icons block equal to the actual icons. However, I found that this size was incorrect in the non-iframe editor and the widget editor:
Why?
The appender button is expected to be
1.5em
sized, inheriting the font size applied to the Social Icons block.However, it is not variable-sized because the 13px font size is always applied by the
.block-editor-inserter selector
. Because this style comes from the block editor, it will not be loaded in the iframe editor, but non-iframe editors will be affected by this style:How?
Add
font-size: inherit
to inherit the font size of the Social Icons block.Testing Instructions
useShouldIframe()
hook conditions are met.Screenshots or screencast
2d897d7c294c801c687baf650a805a8d.mp4