Skip to content

Commit

Permalink
Verse: Prevent default styles overriding theme.json font family (#46560)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Dec 19, 2022
1 parent 69388d0 commit ded9354
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/block-library/src/verse/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
pre.wp-block-verse {
font-family: inherit;
overflow: auto;
white-space: pre-wrap;
}

:where(pre.wp-block-verse) {
font-family: inherit;
}

1 comment on commit ded9354

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some 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.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3728258544
📝 Reported issues:

Please sign in to comment.