Skip to content

Commit 7971c1b

Browse files
committed
Twenty-Twenty: Improve Quote block style consistency between front and back-end.
This changeset updates the `font-style` value of the Quote block in the block editor to ensure styles are consistent between the editor and the front-end. Props kajalgohel, iamjaydip, audrasjb, whaze, mukesh27. Fixes #55931. git-svn-id: https://develop.svn.wordpress.org/trunk@53470 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 35da365 commit 7971c1b

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before {
658658
line-height: 1.25;
659659
}
660660

661+
.editor-styles-wrapper .wp-block-quote cite {
662+
font-style: normal;
663+
}
664+
661665
.editor-styles-wrapper .wp-block-quote p {
662666
color: inherit;
663667
font-weight: 400;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before {
658658
line-height: 1.25;
659659
}
660660

661+
.editor-styles-wrapper .wp-block-quote cite {
662+
font-style: normal;
663+
}
664+
661665
.editor-styles-wrapper .wp-block-quote p {
662666
color: inherit;
663667
font-weight: 400;

0 commit comments

Comments
 (0)