Skip to content

fix: make dropcap style more specific#2603

Merged
laurelfulford merged 1 commit intoreleasefrom
fix/drop-cap-size
Dec 4, 2025
Merged

fix: make dropcap style more specific#2603
laurelfulford merged 1 commit intoreleasefrom
fix/drop-cap-size

Conversation

@laurelfulford
Copy link
Contributor

@laurelfulford laurelfulford commented Dec 3, 2025

All Submissions:

Changes proposed in this Pull Request:

WordPress 6.9 changed how some block styles are loaded - they're only loaded when you need them. This is having a weird side effect on the drop cap style, since the core style are now overriding our theme's.

This PR fixes that; unfortunately it also makes our theme styles a little more specific. Hopefully this doesn't have any weird side effects but there's a small chance it'll cause issues on sites that are overriding those styles with something else in the Custom CSS.

How to test the changes in this Pull Request:

  1. On a site running WP 6.9, add a paragraph and enable the drop cap. Publish.
  2. View on the front-end - it's huge compared to the editor.
  3. Apply this PR.
  4. Confirm that the drop cap now matches on the front and back end.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@laurelfulford laurelfulford requested a review from a team as a code owner December 3, 2025 18:37
@laurelfulford laurelfulford added the [Status] Needs Review The issue or pull request needs to be reviewed label Dec 3, 2025
@laurelfulford laurelfulford changed the base branch from trunk to release December 3, 2025 18:38
@github-actions github-actions bot added [Status] Approved The pull request has been reviewed and is ready to merge and removed [Status] Needs Review The issue or pull request needs to be reviewed labels Dec 4, 2025
@laurelfulford laurelfulford merged commit 38c9761 into release Dec 4, 2025
6 checks passed
@laurelfulford laurelfulford deleted the fix/drop-cap-size branch December 4, 2025 17:34
matticbot pushed a commit that referenced this pull request Dec 4, 2025
## [2.15.2](v2.15.1...v2.15.2) (2025-12-04)

### Bug Fixes

* make dropcap style more specific ([#2603](#2603)) ([38c9761](38c9761))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 2.15.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released [Status] Approved The pull request has been reviewed and is ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants