Skip to content

Commit b74670e

Browse files
jorgefilipecostaMamadukat-hamano
authored
Fix: Pullquote custom line height in the editor. (#80586)
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
1 parent 164a505 commit b74670e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

packages/block-library/src/pullquote/editor.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@
1515
.wp-block-pullquote__citation {
1616
color: inherit;
1717
}
18+
19+
// Ensure custom line-height values applied to the block are inherited by the
20+
// paragraph instead of being overridden by the default editor styles.
21+
.wp-block-pullquote[style*="line-height"] :where(p) {
22+
line-height: inherit;
23+
}

0 commit comments

Comments
 (0)