Repository navigation
Notes: Draw the canvas divider from body so it uses the theme text color - #84158
Conversation
🤖 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: -45 B (0%) Total Size: 8.3 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. Navigates the items list via UP/DOWN arrow keys in
|

What?
Closes #84157
Moves the divider between the canvas and floating notes from
:root::aftertobody::before, and removes the now redundantborder-lefton.editor-collab-sidebar-paneladded in #83330. In dark themes, the divider was dark on dark and effectively invisible.Why?
The divider mixes
currentColorwith transparency, but global styles set the theme text color onbody, nothtml, so a pseudo-element on:rootnever received it. The panel border from #83330 was already overridden in the floating notes, and the "All notes" sidebar has its own divider from the interface skeleton.How?
body::afteris taken by the padding appender (use-padding-appender.js), whoseheight: 40vhoverridesinset-block: 0, so the divider uses::before.Testing Instructions
Testing Instructions for Keyboard
Same as above; the change is visual only.
Screenshots or screencast
Sorry, bad screenshot; the border is faint on dark backgrounds.
Use of AI Tools
Assisted by Claude.