Skip to content

Commit b64a068

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@58731 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a7cdbdc commit b64a068

8 files changed

Lines changed: 0 additions & 38 deletions

File tree

src/wp-content/themes/twentyeleven/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,12 +409,6 @@ p.has-drop-cap:not(:focus)::first-letter {
409409
text-align: right;
410410
}
411411

412-
/* Verse */
413-
414-
.editor-styles-wrapper .wp-block-verse {
415-
font-family: inherit;
416-
}
417-
418412

419413
/*--------------------------------------------------------------
420414
5.0 Blocks - Layout Elements

src/wp-content/themes/twentyfifteen/css/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -741,12 +741,6 @@ p.has-drop-cap:not(:focus)::first-letter {
741741
text-align: right;
742742
}
743743

744-
/* Verse */
745-
746-
.editor-styles-wrapper .wp-block-verse {
747-
font-family: inherit;
748-
}
749-
750744
/*--------------------------------------------------------------
751745
5.0 Blocks - Layout Elements
752746
--------------------------------------------------------------*/

src/wp-content/themes/twentyfourteen/css/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,12 +417,6 @@ p.has-drop-cap:not(:focus)::first-letter {
417417
}
418418
}
419419

420-
/* Verse */
421-
422-
.editor-styles-wrapper .wp-block-verse {
423-
font-family: inherit;
424-
}
425-
426420
/*--------------------------------------------------------------
427421
5.0 Blocks - Layout Elements
428422
--------------------------------------------------------------*/

src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -720,12 +720,6 @@ table.wp-block-table td:last-child {
720720
font-weight: inherit;
721721
}
722722

723-
/* Verse */
724-
725-
.editor-styles-wrapper .wp-block-verse {
726-
font-family: inherit;
727-
}
728-
729723
/*--------------------------------------------------------------
730724
5.0 Blocks - Layout Elements
731725
--------------------------------------------------------------*/

src/wp-content/themes/twentysixteen/css/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,6 @@ figure[class*="wp-block-"] > figcaption {
552552
text-align: right;
553553
}
554554

555-
/* Verse */
556-
557-
.editor-styles-wrapper .wp-block-verse {
558-
font-family: inherit;
559-
}
560-
561555
/*--------------------------------------------------------------
562556
5.0 Blocks - Layout Elements
563557
--------------------------------------------------------------*/

src/wp-content/themes/twentythirteen/css/editor-blocks.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,6 @@ p.has-drop-cap:not(:focus)::first-letter {
272272
text-decoration: none;
273273
}
274274

275-
/* Verse */
276-
277-
.editor-styles-wrapper .wp-block-verse {
278-
font-family: inherit;
279-
}
280-
281275
/*--------------------------------------------------------------
282276
5.0 Blocks - Formatting
283277
--------------------------------------------------------------*/

src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,6 @@ hr.wp-block-separator.is-style-dots::before {
913913

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

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,6 @@ hr.wp-block-separator.is-style-dots::before {
917917

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

0 commit comments

Comments
 (0)