-
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
Placeholder: Tweak placeholder style #61590
Conversation
Size Change: -156 B (-0.01%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
967e73e
to
4a6cb20
Compare
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. |
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.
I think we can actually go 12px (grid unit 15) instead of 16px, but this is a good improvement, happy to try it.
It's curious how much custom CSS the RSS block has. I wonder what remains unique to this block, that it needs any custom CSS at all 🤔
@jasmussen Thanks for the review!
Does this refer to editor.scss or style.scss? Regarding |
I mean the editor.scss file — and this PR is a great step forward to reducing those pieces. |
Part of #41961
Related to #59275
What?
This PR adjusts the placeholder layout for RSS and Embed blocks.
With this PR, the following two things apply:
Why?
To make placeholder styles more consistent.
How?
This PR changes the gap and margin of the Placeholder component itself, but this component already has a flex layout applied, so the impact on developers should be minor.
Testing Instructions
Note
You may notice that when you paste text into a text field, unintended behavior occurs. This is a known issue and has been reported on #61377.
Screenshots or screencast
Desktop
Mobile