Skip to content

Commit

Permalink
MWPW-137084: Aside extra padding on Firefox (#1564)
Browse files Browse the repository at this point in the history
Removing :has selector which interferes with Firefox and does not seem to effect aside styles
  • Loading branch information
JasonHowellSlavin committed Dec 8, 2023
1 parent 511a192 commit 4b1ce25
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions libs/blocks/aside/aside.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -651,8 +649,7 @@
margin-bottom: 0;
}

.aside .foreground.container .image,
.aside .foreground.container div:has(.milo-video) {
.aside .foreground.container .image {
margin: 0;
}

Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 4b1ce25

Please sign in to comment.