Skip to content

Commit

Permalink
Twenty Nineteen: Fixes font size and citation display for Pullquote b…
Browse files Browse the repository at this point in the history
…lock.

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
  • Loading branch information
karmatosed committed Jul 2, 2024
1 parent f1a3d20 commit d510058
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
border-color: transparent;
border-width: 2px;
padding: $size__spacing-unit;
font-size: 1em;

blockquote {
border: none;
Expand All @@ -396,7 +397,7 @@
}

cite {
display: inline-block;
display: block;
@include font-family( $font__heading );
line-height: 1.6;
text-transform: none;
Expand Down
3 changes: 2 additions & 1 deletion src/wp-content/themes/twentynineteen/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -5681,6 +5681,7 @@ body.page .main-navigation {
border-color: transparent;
border-width: 2px;
padding: 1rem;
font-size: 1em;
}

.entry .entry-content .wp-block-pullquote blockquote {
Expand Down Expand Up @@ -5710,7 +5711,7 @@ body.page .main-navigation {
}

.entry .entry-content .wp-block-pullquote cite {
display: inline-block;
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
line-height: 1.6;
text-transform: none;
Expand Down
3 changes: 2 additions & 1 deletion src/wp-content/themes/twentynineteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5693,6 +5693,7 @@ body.page .main-navigation {
border-color: transparent;
border-width: 2px;
padding: 1rem;
font-size: 1em;
}

.entry .entry-content .wp-block-pullquote blockquote {
Expand Down Expand Up @@ -5722,7 +5723,7 @@ body.page .main-navigation {
}

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

0 comments on commit d510058

Please sign in to comment.