Twenty Twenty-One: Support font size option for code block.

Props poena, paaljoachim, hellofromTonya.
See #52431.


Built from https://develop.svn.wordpress.org/trunk@50260


git-svn-id: http://core.svn.wordpress.org/trunk@49905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-02-09 03:24:05 +00:00
parent c6ec6cdc88
commit 165413db2b
8 changed files with 1 additions and 8 deletions

View File

@ -553,7 +553,6 @@ a:hover {
}
.wp-block-code code {
font-size: 1rem;
white-space: pre !important;
overflow-x: auto;
}

View File

@ -2652,7 +2652,6 @@ input[type=reset]:disabled {
.wp-block-code code {
color: #28303d;
font-size: 1rem;
white-space: pre;
overflow-x: auto;
display: block;

View File

@ -681,7 +681,6 @@ a:hover {
}
.wp-block-code code {
font-size: var(--global--font-size-xs);
white-space: pre !important;
overflow-x: auto;
}

View File

@ -1,5 +1,4 @@
.wp-block-code code {
font-size: var(--global--font-size-xs);
white-space: pre !important;
overflow-x: auto;
}

View File

@ -7,7 +7,6 @@
code {
color: var(--global--color-primary);
font-size: var(--global--font-size-xs);
white-space: pre;
overflow-x: auto;
display: block;

View File

@ -1909,7 +1909,6 @@ input[type=reset]:disabled,
.wp-block-code code {
color: var(--global--color-primary);
font-size: var(--global--font-size-xs);
white-space: pre;
overflow-x: auto;
display: block;

View File

@ -1919,7 +1919,6 @@ input[type=reset]:disabled,
.wp-block-code code {
color: var(--global--color-primary);
font-size: var(--global--font-size-xs);
white-space: pre;
overflow-x: auto;
display: block;

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-beta1-50259';
$wp_version = '5.7-beta1-50260';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.