Skip to content

Commit

Permalink
fix(atomic): hide carousel buttons when image size is set to icon (#4518
Browse files Browse the repository at this point in the history
)

This PR hides the product image carousel buttons when **imageSize** is
set to icon. This prevent the buttons from overlapping with the icon.

https://coveord.atlassian.net/browse/KIT-3612
  • Loading branch information
fpbrault authored Oct 11, 2024
1 parent 06bea5a commit 479cc41
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
@apply relative;

.with-sections {
&.image-icon {
atomic-product-image::part(previous-button),
atomic-product-image::part(next-button),
atomic-product-image::part(indicator) {
display: none;
}
}
&.display-grid {
@screen desktop-only {
&.image-large {
Expand Down

0 comments on commit 479cc41

Please sign in to comment.