From ba0c8b04bf5c8e400946ac0b1105b386c7e422d3 Mon Sep 17 00:00:00 2001 From: Elan Bartholomew <79870969+elan-tbx@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:26:16 -0700 Subject: [PATCH] MWPW-140780 - Remove :has() selector from Aside (#1687) remove :has selector altogether --- libs/blocks/aside/aside.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libs/blocks/aside/aside.css b/libs/blocks/aside/aside.css index 4588e6afe1..4187d01628 100644 --- a/libs/blocks/aside/aside.css +++ b/libs/blocks/aside/aside.css @@ -84,13 +84,11 @@ flex-basis: 100%; } -.aside .foreground.container .image, -.aside .foreground.container div:has(.milo-video) { +.aside .foreground.container .image { display: flex; } .aside.inline .foreground.container .image, -.aside.inline .foreground.container div:has(.milo-video), .aside.inline .foreground.container .text { padding: 0; } @@ -651,8 +649,7 @@ margin-bottom: 0; } - .aside .foreground.container .image, - .aside .foreground.container div:has(.milo-video) { + .aside .foreground.container .image { margin: 0; } @@ -922,8 +919,7 @@ width: var(--grid-container-width); } - .aside .foreground.container > div, - .aside .foreground.container div:has(.milo-video) { + .aside .foreground.container > div { object-fit: cover; padding-left: 0; }