mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
05179b4791
commit
40bb20fd83
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -157,6 +157,9 @@ var {
|
||||
font-size: 0.857142857rem;
|
||||
line-height: 2;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
}
|
||||
abbr,
|
||||
acronym,
|
||||
dfn {
|
||||
|
@ -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,
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user