From 5c38661db385abdfbc0093a38fb01849d6793e6b Mon Sep 17 00:00:00 2001 From: Benazeer Hassan <66269472+benazeer-ben@users.noreply.github.com> Date: Thu, 27 Feb 2025 10:09:08 +0530 Subject: [PATCH] Adding missing center alignment style for pullquote (#68121) Co-authored-by: benazeer-ben Co-authored-by: mrwweb --- packages/block-library/src/pullquote/style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/block-library/src/pullquote/style.scss b/packages/block-library/src/pullquote/style.scss index ff5fe6068dfac..6c6557a1101fb 100644 --- a/packages/block-library/src/pullquote/style.scss +++ b/packages/block-library/src/pullquote/style.scss @@ -46,6 +46,10 @@ .wp-block-pullquote.has-text-align-right blockquote { text-align: right; } +// Ensure that we are reasonably specific to override theme defaults. +.wp-block-pullquote.has-text-align-center blockquote { + text-align: center; +} // .is-style-solid-color is deprecated. // This selector has not been scoped with `:root :where`, as global styles