fix: reinstate left border for quotes#2720
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the theme’s front-end Quote block styling to ensure the default Quote variant reliably renders with a left border after WordPress 7.0, even when expected inline styles are missing.
Changes:
- Adjusts the
.wp-block-quoterule for non-large/non-plain quotes to explicitly set a left border. - Refines the conditional selector for which quote styles should receive the border.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This is a two-line CSS fix, so merging without review. |
|
Hey @laurelfulford, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
## [2.22.1](v2.22.0...v2.22.1) (2026-05-21) ### Bug Fixes * reinstate left border for quotes ([#2720](#2720)) ([357a196](357a196))
|
🎉 This PR is included in version 2.22.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [2.22.1](Automattic/newspack-theme@v2.22.0...v2.22.1) (2026-05-21) ### Bug Fixes * reinstate left border for quotes ([#2720](Automattic/newspack-theme#2720)) ([329ae7d](Automattic/newspack-theme@329ae7d))
All Submissions:
Changes proposed in this Pull Request:
As of upgrading to WordPress 7.0, some Newspack sites have lost the left border on the Quote block on the front-end. The border style and width, plus left padding are normally added inline. They still work in the editor.
I can't recreate this locally but can see it on live sites and confirmed the missing styles are contributing.
This PR adds the style (solid) and left padding to the theme directly to avoid issues where this is missing.
How to test the changes in this Pull Request:
I haven't been able to recreate this, but:
Other information: