Skip to content

Commit a7cdbdc

Browse files
committed
Twenty Fifteen: Fixes code block family being different in iframe editor.
The font family was not being included for the code block. This adds Inconsolata to the code block within the editor styles. Props pranitdugad, sabernhardt. Fixes #61571. git-svn-id: https://develop.svn.wordpress.org/trunk@58730 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a87bac2 commit a7cdbdc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/wp-content/themes/twentyfifteen/css/editor-blocks.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,10 @@ p.has-drop-cap:not(:focus)::first-letter {
672672
padding: 0;
673673
}
674674

675+
.wp-block-code {
676+
font-family: Inconsolata, monospace;
677+
}
678+
675679
/* Pullquote */
676680

677681
.wp-block-pullquote,

0 commit comments

Comments
 (0)