Skip to content

Commit

Permalink
Multiple themes: Verse block font family different on front.
Browse files Browse the repository at this point in the history
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.


git-svn-id: https://develop.svn.wordpress.org/trunk@58731 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
karmatosed committed Jul 16, 2024
1 parent a7cdbdc commit b64a068
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 38 deletions.
6 changes: 0 additions & 6 deletions src/wp-content/themes/twentyeleven/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-align: right;
}

/* Verse */

.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}


/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
Expand Down
6 changes: 0 additions & 6 deletions src/wp-content/themes/twentyfifteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-align: right;
}

/* Verse */

.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}

/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
--------------------------------------------------------------*/
Expand Down
6 changes: 0 additions & 6 deletions src/wp-content/themes/twentyfourteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -720,12 +720,6 @@ table.wp-block-table td:last-child {
font-weight: inherit;
}

/* Verse */

.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}

/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
--------------------------------------------------------------*/
Expand Down
6 changes: 0 additions & 6 deletions src/wp-content/themes/twentysixteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -552,12 +552,6 @@ figure[class*="wp-block-"] > figcaption {
text-align: right;
}

/* Verse */

.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}

/*--------------------------------------------------------------
5.0 Blocks - Layout Elements
--------------------------------------------------------------*/
Expand Down
6 changes: 0 additions & 6 deletions src/wp-content/themes/twentythirteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,6 @@ p.has-drop-cap:not(:focus)::first-letter {
text-decoration: none;
}

/* Verse */

.editor-styles-wrapper .wp-block-verse {
font-family: inherit;
}

/*--------------------------------------------------------------
5.0 Blocks - Formatting
--------------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,6 @@ hr.wp-block-separator.is-style-dots::before {

.editor-styles-wrapper .wp-block-verse pre,
.editor-styles-wrapper pre.wp-block-verse {
font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
font-size: 0.9em;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,6 @@ hr.wp-block-separator.is-style-dots::before {

.editor-styles-wrapper .wp-block-verse pre,
.editor-styles-wrapper pre.wp-block-verse {
font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
font-size: 0.9em;
}

Expand Down

0 comments on commit b64a068

Please sign in to comment.