From 133b256b9fc1cf0aaaa64b561511bd3aa99accfa Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Wed, 9 Mar 2022 10:08:24 +1300 Subject: [PATCH] Add additional selector to account for the move of is-style classes from the deprecated align div in https://github.com/WordPress/gutenberg/commit/e04ec5655baea387fab421b28ff846626ae696c6 --- packages/block-library/src/image/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index 564cdad7270e2e..dbce34857299b2 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -69,7 +69,8 @@ } // Variations - &.is-style-rounded img { + &.is-style-rounded img, + .is-style-rounded img { // We use an absolute pixel to prevent the oval shape that a value of 50% would give // to rectangular images. A pill-shape is better than otherwise. border-radius: 9999px;