Skip to content

Commit

Permalink
Image zoom legacy media component styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Pio-Bar committed Oct 18, 2024
1 parent 35a1751 commit d5382e6
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,16 @@ cx-product-image-zoom-view {
.cx-default-image-zoom {
display: flex;
justify-content: center;
max-height: calc(90vh - 200px);

&:has(picture) {
max-height: calc(90vh - 200px);
}
@include media-breakpoint-up(lg) {
height: calc(90vh - 200px);
// TODO: (CXSPA-7492) - Remove feature flag next major release.
@include forFeature('a11yKeyboardAccessibleZoom') {
height: unset;
&:has(picture) {
height: unset;
}
}
}

Expand Down

0 comments on commit d5382e6

Please sign in to comment.