Skip to content

Commit

Permalink
feat(ProductCard): set aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
aneurysmjs committed Jun 3, 2019
1 parent 67a8832 commit c47cb33
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/components/shared/ProductCard/ProductCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@

.product-card {
position: relative;
height: 0;
padding-top: 100%;

@include element(image) {
// &:hover {
// & + img {
// visibility: visible;
// }
// }

}

@include element(image--hovered) {
Expand Down

0 comments on commit c47cb33

Please sign in to comment.