mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +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. Built from https://develop.svn.wordpress.org/trunk@58852 git-svn-id: http://core.svn.wordpress.org/trunk@58248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
76a44b13d4
commit
c0d665f64e
@ -416,7 +416,9 @@ figure[class*="wp-block-"] > figcaption {
|
|||||||
|
|
||||||
.editor-styles-wrapper .wp-block-code {
|
.editor-styles-wrapper .wp-block-code {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0.125em 0.25em;
|
font-family: Inconsolata, monospace;
|
||||||
|
line-height: 1.75;
|
||||||
|
padding: 0;
|
||||||
background-color: #d1d1d1;
|
background-color: #d1d1d1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58851';
|
$wp_version = '6.7-alpha-58852';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user