From 4b1ce252c3facdc725c65ca22ca1bf253c58d731 Mon Sep 17 00:00:00 2001 From: Jason Slavin Date: Fri, 8 Dec 2023 14:11:58 -0800 Subject: [PATCH] MWPW-137084: Aside extra padding on Firefox (#1564) Removing :has selector which interferes with Firefox and does not seem to effect aside styles --- 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 4588e6afe1b..4187d016287 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; }