Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 27, 2020
1 parent c5bbfdf commit 29a00c0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tradefurniturecompany/core"
,"version": "0.3.7"
,"version": "0.3.8"
,"description": "A custom module for tradefurniturecompany.co.uk (Magento 2)"
,"type": "magento2-module"
,"homepage": "https://github.com/tradefurniturecompany/core"
Expand Down
28 changes: 24 additions & 4 deletions view/frontend/web/_category.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,36 @@ body.catalog-category-view #maincontent {
@media (max-width: 639px) {margin-top: 0.75rem;}
> .products {
margin: 0;
> .product-item {
@media (max-width: 639px) {
&:nth-child(2n + 1) {
margin-bottom: 0.8rem;
&:after {
border-bottom: 2px solid rgb(244, 244, 244);
content: '';
position: absolute;
width: 500%;
}
}
}
}
> .product-item > .product-item-info {
@media (max-width: 639px) {padding: 0;}
@media (min-width: 640px) {
border: 0; padding: 2px;
&:hover, &.active {padding: 0; border-width: 2px !important;}
}
> .details {
> .price-box.price-final_price {
min-height: auto;
@media (max-width: 639px) {margin: 0;}
}
> .name {@media (max-width: 639px) {margin: 0;}}
.product-item-link {
height: auto;
@media (max-width: 639px) {font-size: 1.33rem;}
}
}
.product-item-actions {
// 2020-10-24
// "Remove the «Add to Wishlist» and «Add to Backet» controls
Expand All @@ -43,10 +67,6 @@ body.catalog-category-view #maincontent {
}
> .actions-secondary > .action {width: auto;}
}
> .details {
> .price-box.price-final_price {min-height: auto;}
.product-item-link {height: auto;}
}
}
}
}
Expand Down

0 comments on commit 29a00c0

Please sign in to comment.