Skip to content

Commit

Permalink
https://github.com/tradefurniturecompany/site/issues/189
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 23, 2020
1 parent 1b50170 commit f6644ea
Showing 1 changed file with 33 additions and 35 deletions.
68 changes: 33 additions & 35 deletions view/frontend/web/_category.less
Original file line number Diff line number Diff line change
@@ -1,43 +1,41 @@
// 2020-05-15
@import 'css/mixin/_toggled-text';
body.catalog-category-view {
#maincontent {
// 2020-05-15
// "Hide the text below the primary image from the «Collections» (`/more-collections`) page on narrow screens":
// https://github.com/tradefurniturecompany/core/issues/30
@media only screen and (max-width: 767px) {
h1.page-title {margin: 0.1em 0;}
.category-view-image-desc {
> .category-description {display: none;}
> .category-image {margin-bottom: 15px;}
.tfc-toggle-m();
}
body.catalog-category-view #maincontent {
// 2020-05-15
// "Hide the text below the primary image from the «Collections» (`/more-collections`) page on narrow screens":
// https://github.com/tradefurniturecompany/core/issues/30
@media only screen and (max-width: 767px) {
h1.page-title {margin: 0.1em 0;}
.category-view-image-desc {
> .category-description {display: none;}
> .category-image {margin-bottom: 15px;}
.tfc-toggle-m();
}
// 2020-10-22 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro
// «Remove an extra empty space from the frontend product list page»
// https://github.com/tradefurniturecompany/site/issues/190
.filter.block {margin-bottom: 0;}
.toolbar-products {margin-bottom: 0;}
.products-grid {
margin: 0; padding-bottom: 0;
> .products {
margin: 0;
> .product-item > .product-item-info {
}
// 2020-10-22 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro
// «Remove an extra empty space from the frontend product list page»
// https://github.com/tradefurniturecompany/site/issues/190
.filter.block {margin-bottom: 0;}
.toolbar-products {margin-bottom: 0;}
.products-grid {
margin: 0; padding-bottom: 0;
> .products {
margin: 0;
> .product-item > .product-item-info {
@media (min-width: 640px) {
border: 0; padding: 2px;
&:hover, &.active {padding: 0; border-width: 2px !important;}
}
.product-item-actions {
@media (min-width: 640px) {
border: 0; padding: 2px;
&:hover, &.active {padding: 0; border-width: 2px !important;}
}
.product-item-actions {
@media (min-width: 640px) {
margin-bottom: 0;
> .actions-primary {position: absolute; top: -200px;}
}
> .actions-secondary > .action {width: auto;}
}
> .details {
> .price-box.price-final_price {min-height: auto;}
.product-item-link {height: auto;}
margin-bottom: 0;
> .actions-primary {position: absolute; top: -200px;}
}
> .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 f6644ea

Please sign in to comment.