Skip to content

Commit

Permalink
MWPW-138921 Fixing popup promo image size (adobecom#1516)
Browse files Browse the repository at this point in the history
With rearrangement of CSS in adobecom#1470 the promoaside icon styles are overriding promoaside popup variant icon styles. Fixing the css to prioritize popup style for popup promo.

Resolves: MWPW-138921

Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/mathuria/promobar/popuppromo?martech=off
After: https://mwpw-138921--milo--aishwaryamathuria.hlx.page/drafts/mathuria/promobar/popuppromo?martech=off
  • Loading branch information
aishwaryamathuria authored Nov 14, 2023
1 parent 7c51d4c commit 61217dc
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions libs/blocks/aside/aside.css
Original file line number Diff line number Diff line change
Expand Up @@ -997,15 +997,16 @@
flex-direction: row;
}

.aside.promobar .foreground.container .icon-area,
.aside.promobar .foreground.container .icon-area img {
height: var(--icon-size-xxl);
}

.aside.promobar.popup .promo-text .icon-area,
.aside.promobar.popup .promo-text .icon-area img {
height: var(--icon-size-m);
}

.aside.promobar .foreground.container .icon-area img {
height: var(--icon-size-xxl);
}

.aside.center:not(.notification) .foreground.container .text .icon-area img {
max-width: 400px;
}
Expand Down Expand Up @@ -1065,10 +1066,6 @@
margin-right: 0;
}

.aside.promobar .foreground.container .icon-area {
height: var(--icon-size-xxl);
}

.aside.promobar .promo-text .content-area {
gap: var(--spacing-m);
}
Expand Down

0 comments on commit 61217dc

Please sign in to comment.