Skip to content

Commit d510058

Browse files
committed
Twenty Nineteen: Fixes font size and citation display for Pullquote block.
The pullquote block text decoration was not the same front and within the editor. This resolves that and resets. Props pitamdey, viralsampat, sabernhardt. Fixes #61507. git-svn-id: https://develop.svn.wordpress.org/trunk@58630 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f1a3d20 commit d510058

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@
370370
border-color: transparent;
371371
border-width: 2px;
372372
padding: $size__spacing-unit;
373+
font-size: 1em;
373374

374375
blockquote {
375376
border: none;
@@ -396,7 +397,7 @@
396397
}
397398

398399
cite {
399-
display: inline-block;
400+
display: block;
400401
@include font-family( $font__heading );
401402
line-height: 1.6;
402403
text-transform: none;

src/wp-content/themes/twentynineteen/style-rtl.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5681,6 +5681,7 @@ body.page .main-navigation {
56815681
border-color: transparent;
56825682
border-width: 2px;
56835683
padding: 1rem;
5684+
font-size: 1em;
56845685
}
56855686

56865687
.entry .entry-content .wp-block-pullquote blockquote {
@@ -5710,7 +5711,7 @@ body.page .main-navigation {
57105711
}
57115712

57125713
.entry .entry-content .wp-block-pullquote cite {
5713-
display: inline-block;
5714+
display: block;
57145715
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
57155716
line-height: 1.6;
57165717
text-transform: none;

src/wp-content/themes/twentynineteen/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5693,6 +5693,7 @@ body.page .main-navigation {
56935693
border-color: transparent;
56945694
border-width: 2px;
56955695
padding: 1rem;
5696+
font-size: 1em;
56965697
}
56975698

56985699
.entry .entry-content .wp-block-pullquote blockquote {
@@ -5722,7 +5723,7 @@ body.page .main-navigation {
57225723
}
57235724

57245725
.entry .entry-content .wp-block-pullquote cite {
5725-
display: inline-block;
5726+
display: block;
57265727
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
57275728
line-height: 1.6;
57285729
text-transform: none;

0 commit comments

Comments
 (0)