ソースを参照

Skatepark: Apply styling to quote text in editor

Sarah Norris 4 年 前
コミット
70805bd81c

+ 1 - 1
skatepark/assets/theme.css

@@ -206,7 +206,7 @@
 	text-align: right;
 }
 
-.testimonial .wp-block-quote p {
+.testimonial .wp-block-quote p, .testimonial .wp-block-quote div.block-editor-rich-text__editable {
 	flex: 0 0 66.66%;
 	font-size: calc( var(--wp--preset--font-size--huge) * 1.34);
 	font-weight: bold;

+ 1 - 1
skatepark/sass/block-patterns/_testimonial.scss

@@ -25,7 +25,7 @@
 			text-align: right;
 		}
 
-		p {
+		p, div.block-editor-rich-text__editable {
 			flex: 0 0 66.66%;
 			font-size: calc( var(--wp--preset--font-size--huge) * 1.34);
 			font-weight: bold;