From 0cbfd5b22c11384c9f2970c61fe7dda5386d1c5e Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 11 Aug 2024 14:24:10 +0000 Subject: [PATCH] Twenty Twelve: Fixes Code block font family difference in editors. The Code block font family was different in the front-end and the editor. This resolves the overruling in the iframe editor. Props pitamdey, sabernhardt. Fixes #61808. git-svn-id: https://develop.svn.wordpress.org/trunk@58882 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwelve/css/editor-blocks.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/twentytwelve/css/editor-blocks.css b/src/wp-content/themes/twentytwelve/css/editor-blocks.css index 4a1049dae0..85dd813bf2 100644 --- a/src/wp-content/themes/twentytwelve/css/editor-blocks.css +++ b/src/wp-content/themes/twentytwelve/css/editor-blocks.css @@ -268,6 +268,7 @@ p.has-drop-cap:not(:focus)::first-letter { .wp-block-code { border: 0; + font-family: Consolas, Monaco, Lucida Console, monospace; font-size: 12px; line-height: 2; padding: 0;