mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 22:10:02 +01:00
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:
parent
8b2ff8636f
commit
ddd53c27ad
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user