Skip to content

Commit

Permalink
fix(atomic): fix layout issue on product variants with imageSize set …
Browse files Browse the repository at this point in the history
…to none (#4521)

This PR fixes the product variant icons from taking the full width of
the product element when the imageSize is set to none

<img width="397" alt="image"
src="https://github.com/user-attachments/assets/94b78ab2-b4c6-43e0-86f7-4bd338298bd1">




https://coveord.atlassian.net/browse/KIT-3608
  • Loading branch information
fpbrault authored Oct 17, 2024
1 parent 9e15c6c commit cbfca7f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
}
}

&.image-icon {
&.image-icon,
&.image-none {
atomic-product-section-children .product-child {
width: 2rem;
height: 2rem;
Expand All @@ -46,7 +47,8 @@
}
}

&.image-icon {
&.image-icon,
&.image-none {
atomic-product-section-children .product-child {
width: 2rem;
height: 2rem;
Expand Down

0 comments on commit cbfca7f

Please sign in to comment.