mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 04:33:18 +02:00
Twenty Sixteen: Fixes pullquote block typography not working.
The pullquote block was not reflecting the typography changes. This updated patch keeps the size and also fixes the line height. Props pranitdugad, nidhidhandhukiya, jorbin, darshitrayaguru97, yurajsinj2211, ankit-k-gupta, poena, sabernhardt, shailu25. Fixes #59919. git-svn-id: https://develop.svn.wordpress.org/trunk@58907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
39ce3bcae0
commit
487907150f
@ -216,6 +216,21 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.wp-block-pullquote[class*="-font-size"] blockquote,
|
||||
.wp-block-pullquote[class*="-font-size"] blockquote p,
|
||||
.wp-block-pullquote[class*="-font-size"] cite,
|
||||
.wp-block-pullquote[style*="font-size"] blockquote,
|
||||
.wp-block-pullquote[style*="font-size"] blockquote p,
|
||||
.wp-block-pullquote[style*="font-size"] cite {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote[style*="line-height"] blockquote,
|
||||
.wp-block-pullquote[style*="line-height"] blockquote p,
|
||||
.wp-block-pullquote[style*="line-height"] cite {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote cite:before {
|
||||
content: "\2014\00a0";
|
||||
}
|
||||
|
@ -538,6 +538,21 @@ figure[class*="wp-block-"] > figcaption {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote[class*="-font-size"] blockquote,
|
||||
.wp-block-pullquote[class*="-font-size"] blockquote p,
|
||||
.wp-block-pullquote[class*="-font-size"] cite,
|
||||
.wp-block-pullquote[style*="font-size"] blockquote,
|
||||
.wp-block-pullquote[style*="font-size"] blockquote p,
|
||||
.wp-block-pullquote[style*="font-size"] cite {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote[style*="line-height"] blockquote,
|
||||
.wp-block-pullquote[style*="line-height"] blockquote p,
|
||||
.wp-block-pullquote[style*="line-height"] cite {
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.wp-block-pullquote .wp-block-pullquote__citation:before {
|
||||
content: "\2014\00a0";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user