Repository navigation
Notes: Reset paragraph top margin in floating notes - #84101
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
🤖 PR meta 🤖🎉 PropsIf 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. Updated as activity occurs, without notifying anyone named here. Add the 📦 Bundle sizeSize Change: +30 B (0%) Total Size: 8.29 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. scrolls the thread before the canvas in
|
What?
Follow-up to #83786
Restores the zero top margin on paragraphs in floating note content.
Why?
#83786 moved floating notes out of the
PluginSidebarinto the canvas margin, so they are no longer inside.interface-complementary-areaand lost itsp { margin-top: 0 }rule. Note paragraphs now get the browser's default top margin, which pushes each note's text toward the next note's byline and makes the action menus look like they belong to the wrong note.How?
Reset
margin-topon paragraphs within.editor-collab-sidebar-panel__note-content.Testing Instructions
Screenshots or screencast
Use of AI Tools
Claude Code was used to investigate the cause and to write the fix and this description. I reviewed the changes.
🤖 Generated with Claude Code