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:
parent
c6ec6cdc88
commit
165413db2b
|
@ -553,7 +553,6 @@ a:hover {
|
|||
}
|
||||
|
||||
.wp-block-code code {
|
||||
font-size: 1rem;
|
||||
white-space: pre !important;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -681,7 +681,6 @@ a:hover {
|
|||
}
|
||||
|
||||
.wp-block-code code {
|
||||
font-size: var(--global--font-size-xs);
|
||||
white-space: pre !important;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
.wp-block-code code {
|
||||
font-size: var(--global--font-size-xs);
|
||||
white-space: pre !important;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue