Skip to content

Commit

Permalink
Verse: Prevent default styles overriding theme.json font family
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored and glendaviesnz committed Dec 19, 2022
1 parent 69388d0 commit 1a4b734
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 1a4b734

@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/3727856913
📝 Reported issues:

Please sign in to comment.