فهرست منبع

Skatepark: Apply styling to quote text in editor

Sarah Norris 4 سال پیش
والد
کامیت
70805bd81c
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      skatepark/assets/theme.css
  2. 1 1
      skatepark/sass/block-patterns/_testimonial.scss

+ 1 - 1
skatepark/assets/theme.css

@@ -206,7 +206,7 @@
 	text-align: right;
 	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%;
 	flex: 0 0 66.66%;
 	font-size: calc( var(--wp--preset--font-size--huge) * 1.34);
 	font-size: calc( var(--wp--preset--font-size--huge) * 1.34);
 	font-weight: bold;
 	font-weight: bold;

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

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