diff --git a/wp-content/themes/twentyfourteen/css/blocks.css b/wp-content/themes/twentyfourteen/css/blocks.css index e0f0e231e7..d6ba5f050f 100644 --- a/wp-content/themes/twentyfourteen/css/blocks.css +++ b/wp-content/themes/twentyfourteen/css/blocks.css @@ -168,6 +168,10 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.wp-block-code code { + font-size: inherit; +} + /* Pullquote */ .wp-block-pullquote { diff --git a/wp-content/themes/twentyfourteen/css/editor-blocks.css b/wp-content/themes/twentyfourteen/css/editor-blocks.css index 8cc7c09368..a6d4cb37c7 100644 --- a/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -357,6 +357,10 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.editor-styles-wrapper .wp-block-code code { + font-size: inherit; +} + /* Pullquote */ .wp-block-pullquote { diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index 06ef5ca25a..7aba715c8b 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -149,6 +149,10 @@ p.has-drop-cap:not(:focus)::first-letter { padding: 0; } +.wp-block-code code { + font-size: inherit; +} + /* Pullquote */ .wp-block-pullquote { diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css index d820a8192b..6357aca713 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css @@ -622,6 +622,10 @@ html[lang="th"] .edit-post-visual-editor * { padding: 0; } +.editor-styles-wrapper .wp-block-code code { + font-size: inherit; +} + /* Classic */ .wp-block-freeform.block-library-rich-text__tinymce li, diff --git a/wp-content/themes/twentysixteen/css/blocks.css b/wp-content/themes/twentysixteen/css/blocks.css index bdc79a598d..72a6873660 100644 --- a/wp-content/themes/twentysixteen/css/blocks.css +++ b/wp-content/themes/twentysixteen/css/blocks.css @@ -145,12 +145,14 @@ p.has-drop-cap:not(:focus)::first-letter { .wp-block-code { border: 0; font-family: Inconsolata, monospace; - font-size: 16px; - font-size: 1rem; line-height: 1.75; padding: 0; } +.wp-block-code code { + font-size: inherit; +} + /* Pullquote */ .wp-block-pullquote { diff --git a/wp-includes/version.php b/wp-includes/version.php index ec250d1224..83c7826fcb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50346'; +$wp_version = '5.7-beta2-50347'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.