File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/block-library/src/pullquote Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
// .is-style-solid-color is deprecated.
2
+ // This selector has not been scoped with `:root :where`, as global styles
3
+ // does, to keep its specificity as it was at the time of deprecation.
2
4
.wp-block-pullquote.is-style-solid-color {
3
5
& blockquote p {
4
6
font-size : 32px ;
Original file line number Diff line number Diff line change 2
2
text-align : center ; // Default text-alignment where the `textAlign` attribute value isn't specified.
3
3
overflow-wrap : break-word ; // Break long strings of text without spaces so they don't overflow the block.
4
4
box-sizing : border-box ;
5
+ margin : 0 0 1em 0 ;
6
+ padding : 4em 0 ;
5
7
6
8
p ,
7
9
blockquote ,
35
37
}
36
38
}
37
39
38
- // Lowest specificity to avoid overriding layout and global styles.
39
- :where(.wp-block-pullquote ) {
40
- margin : 0 0 1em 0 ;
41
- padding : 4em 0 ;
42
- }
43
-
44
40
// Ensure that we are reasonably specific to override theme defaults.
45
41
.wp-block-pullquote.has-text-align-left blockquote {
46
42
text-align : left ;
52
48
}
53
49
54
50
// .is-style-solid-color is deprecated.
51
+ // This selector has not been scoped with `:root :where`, as global styles
52
+ // does, to keep its specificity as it was at the time of deprecation.
55
53
.wp-block-pullquote.is-style-solid-color {
56
54
border : none ;
57
55
blockquote {
You can’t perform that action at this time.
0 commit comments