Multiple themes: Verse block font family different on front.

The font family was not showing correctly for the verse block. The approach taken was to match the front end and this involved also removing the styles in [50358].

Props pranitdugad, sabernhardt, poena, pitamdey.
Fixes #61140.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-16 10:04:13 +00:00
parent 6f694a5983
commit 112eb192f1
9 changed files with 1 additions and 39 deletions

View File

@ -409,12 +409,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-align: right; text-align: right;
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Layout Elements 5.0 Blocks - Layout Elements

View File

@ -741,12 +741,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-align: right; text-align: right;
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Layout Elements 5.0 Blocks - Layout Elements
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -417,12 +417,6 @@ p.has-drop-cap:not(:focus)::first-letter {
} }
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Layout Elements 5.0 Blocks - Layout Elements
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -720,12 +720,6 @@ table.wp-block-table td:last-child {
font-weight: inherit; font-weight: inherit;
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Layout Elements 5.0 Blocks - Layout Elements
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -552,12 +552,6 @@ figure[class*="wp-block-"] > figcaption {
text-align: right; text-align: right;
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Layout Elements 5.0 Blocks - Layout Elements
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -272,12 +272,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-decoration: none; text-decoration: none;
} }
/* Verse */
.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
5.0 Blocks - Formatting 5.0 Blocks - Formatting
--------------------------------------------------------------*/ --------------------------------------------------------------*/

View File

@ -913,7 +913,6 @@ hr.wp-block-separator.is-style-dots::before {
.editor-styles-wrapper .wp-block-verse pre, .editor-styles-wrapper .wp-block-verse pre,
.editor-styles-wrapper pre.wp-block-verse { .editor-styles-wrapper pre.wp-block-verse {
font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
font-size: 0.9em; font-size: 0.9em;
} }

View File

@ -917,7 +917,6 @@ hr.wp-block-separator.is-style-dots::before {
.editor-styles-wrapper .wp-block-verse pre, .editor-styles-wrapper .wp-block-verse pre,
.editor-styles-wrapper pre.wp-block-verse { .editor-styles-wrapper pre.wp-block-verse {
font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
font-size: 0.9em; font-size: 0.9em;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-alpha-58730'; $wp_version = '6.7-alpha-58731';
/** /**
* 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.