Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmparrish committed Jul 31, 2024
1 parent b7f8db4 commit c7a5396
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
8 changes: 2 additions & 6 deletions libs/blocks/editorial-card/editorial-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@
display: flex;
align-items: center;
justify-content: right;
column-gap: var(--spacing-s);
row-gap: var(--spacing-xs);
gap: var(--spacing-xs) var(--spacing-s);
flex-flow: wrap;
flex-direction: row;
}
Expand Down Expand Up @@ -230,10 +229,7 @@
max-height: unset;
}

.editorial-card.media-square .media-area .milo-video,
.editorial-card.media-wide .media-area .milo-video,
.editorial-card.media-standard .media-area .milo-video,
.editorial-card.media-tall .media-area .milo-video {
.editorial-card:is(.media-square, .media-wide, .media-standard, .media-tall) .media-area .milo-video {
height: auto;
padding: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion libs/blocks/editorial-card/editorial-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const decorateForeground = async (el, rows) => {
await decorateLockupFromContent(row);
} else if (i === (rows.length - 1)) {
row.classList.add('footer');
if (row.textContent.trim() === '') row.classList.add('empty');
if (!row.textContent.trim()) row.classList.add('empty');
} else {
row.classList.add('extra-row');
}
Expand Down
14 changes: 5 additions & 9 deletions libs/blocks/marquee/marquee.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@
}

.marquee.split .icon-area img {
height: auto;
max-height: var(--icon-size-l);
max-width: 275px;
object-fit: contain;
Expand Down Expand Up @@ -449,6 +448,10 @@
padding: var(--spacing-xl) 0;
}

html[dir="rtl"] .marquee.split .foreground.container {
flex-direction: row-reverse;
}

.marquee.split .foreground.container .text {
max-width: calc(50% - var(--grid-column-width));
}
Expand Down Expand Up @@ -484,6 +487,7 @@
max-width: 212px;
}


.marquee.split.row-reversed .foreground.container {
justify-content: flex-end;
}
Expand All @@ -492,14 +496,6 @@
justify-content: flex-start;
}

html[dir="rtl"] .marquee.support-rtl.split .foreground.container {
flex-direction: row;
}

html[dir="rtl"] .marquee.support-rtl.split.row-reversed .foreground.container {
flex-direction: row-reverse;
}

.marquee.split .asset img,
.marquee.split.small .asset img,
.marquee.split.large .asset img,
Expand Down

0 comments on commit c7a5396

Please sign in to comment.