Merge pull request #2623 from Automattic/fix/2561
Spearhead: Fixes the code and verse blocks in the editor
This commit is contained in:
commit
ba7bf7c169
9 changed files with 28 additions and 12 deletions
|
@ -509,6 +509,17 @@ div[data-type="core/button"] {
|
|||
color: var(--global--color-foreground);
|
||||
}
|
||||
|
||||
.wp-block-code {
|
||||
color: var(--global--color-foreground);
|
||||
font-size: var(--global--font-size-sm);
|
||||
padding: var(--global--spacing-unit);
|
||||
border-color: var(--global--color-border);
|
||||
}
|
||||
|
||||
.wp-block-code pre {
|
||||
color: var(--global--color-foreground);
|
||||
}
|
||||
|
||||
.wp-block-cover,
|
||||
.wp-block-cover-image {
|
||||
background-color: var(--cover--color-foreground);
|
||||
|
@ -1230,6 +1241,8 @@ table th,
|
|||
}
|
||||
|
||||
pre.wp-block-verse {
|
||||
color: var(--global--color-foreground);
|
||||
font-family: var(--entry-content--font-family);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@
|
|||
|
||||
@import "button/editor";
|
||||
@import "calendar/style";
|
||||
@import "code/editor";
|
||||
@import "code/style";
|
||||
@import "cover/editor";
|
||||
@import "file/editor";
|
||||
@import "gallery/editor";
|
||||
|
@ -28,5 +28,5 @@
|
|||
@import "slideshow/editor";
|
||||
@import "subscription/editor";
|
||||
@import "table/editor";
|
||||
@import "verse/editor";
|
||||
@import "verse/style";
|
||||
@import "utilities/editor"; // Import LAST to cascade properly
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
pre.wp-block-verse {
|
||||
padding: 0;
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
.wp-block-verse {
|
||||
pre.wp-block-verse {
|
||||
color: var(--global--color-foreground);
|
||||
font-family: var(--entry-content--font-family);
|
||||
padding: 0;
|
||||
}
|
||||
|
|
|
@ -2451,8 +2451,10 @@ table th,
|
|||
word-break: break-all;
|
||||
}
|
||||
|
||||
.wp-block-verse {
|
||||
pre.wp-block-verse {
|
||||
color: var(--global--color-foreground);
|
||||
font-family: var(--entry-content--font-family);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-video figcaption {
|
||||
|
|
|
@ -2451,8 +2451,10 @@ table th,
|
|||
word-break: break-all;
|
||||
}
|
||||
|
||||
.wp-block-verse {
|
||||
pre.wp-block-verse {
|
||||
color: var(--global--color-foreground);
|
||||
font-family: var(--entry-content--font-family);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wp-block-video figcaption {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue