Multiple themes: Fixes Code block not adjusting to font size changes.

This resolves the Code block not changing when the font sizes are switched in Twenty Eleven and Twenty Twelve. The solution is the same as used for other code block adjustments for font sizes.

Props viralsampat, sabernhardt.
Fixes #61753.

Built from https://develop.svn.wordpress.org/trunk@58816


git-svn-id: http://core.svn.wordpress.org/trunk@58212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-27 09:37:10 +00:00
parent 05179b4791
commit 40bb20fd83
5 changed files with 11 additions and 1 deletions

View File

@ -119,6 +119,9 @@ pre {
code, kbd, samp, var {
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
pre code {
font-size: inherit;
}
abbr, acronym, dfn {
border-bottom: 1px dotted #666;
cursor: help;

View File

@ -408,6 +408,9 @@ pre {
code, kbd, samp, var {
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
pre code {
font-size: inherit;
}
abbr, acronym, dfn {
border-bottom: 1px dotted #666;
cursor: help;

View File

@ -157,6 +157,9 @@ var {
font-size: 0.857142857rem;
line-height: 2;
}
pre code {
font-size: inherit;
}
abbr,
acronym,
dfn {

View File

@ -903,6 +903,7 @@ article.sticky .featured-post {
.entry-content pre code,
.comment-content pre code {
display: block;
font-size: inherit;
}
.entry-content abbr,
.comment-content abbr,

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58815';
$wp_version = '6.7-alpha-58816';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.