From 0b8de6479a2ed03aacac56f5315835576a0b67e0 Mon Sep 17 00:00:00 2001 From: Nik Tsekouras Date: Wed, 15 Feb 2023 10:06:09 +0200 Subject: [PATCH] [Quote]: Fix deprectated `large` style specificity rule (#47969) --- packages/block-library/src/quote/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/quote/style.scss b/packages/block-library/src/quote/style.scss index 835dc56afaf5e6..e453e407a08752 100644 --- a/packages/block-library/src/quote/style.scss +++ b/packages/block-library/src/quote/style.scss @@ -2,8 +2,8 @@ box-sizing: border-box; overflow-wrap: break-word; // Break long strings of text without spaces so they don't overflow the block. // .is-style-large and .is-large are kept for backwards compatibility. The :not pseudo-class is used to enable switching styles. See PR #37580. - &.is-style-large:not(.is-style-plain), - &.is-large:not(.is-style-plain) { + &.is-style-large:where(:not(.is-style-plain)), + &.is-large:where(:not(.is-style-plain)) { margin-bottom: 1em; padding: 0 1em;