Twenty Sixteen: Fixes Code block not showing same line-height and padding on front and in editor.

The Code block had a difference in line-height and padding in the editor and front end. This does not fix font-family which has another ticket.

Props viralsampat, sabernhardt.
Fixes #61700.


git-svn-id: https://develop.svn.wordpress.org/trunk@58852 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2024-08-05 09:49:14 +00:00
parent 8b2ff8636f
commit ddd53c27ad

View File

@ -416,7 +416,9 @@ figure[class*="wp-block-"] > figcaption {
.editor-styles-wrapper .wp-block-code {
border: 0;
padding: 0.125em 0.25em;
font-family: Inconsolata, monospace;
line-height: 1.75;
padding: 0;
background-color: #d1d1d1;
}