Skip to content

Commit 5f0c02b

Browse files
committed
Update styles #2
1 parent 4b64f33 commit 5f0c02b

File tree

1 file changed

+6
-6
lines changed
  • app/design/frontend/Magento/blank/Magento_Catalog/web/css/source

1 file changed

+6
-6
lines changed

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_widgets.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@
6464
// _____________________________________________
6565

6666
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
67-
.block.widget .products-grid .product-item,
68-
.page-layout-1column .block.widget .products-grid .product-item,
69-
.page-layout-3columns .block.widget .products-grid .product-item {
70-
width: 100%/3;
71-
}
72-
7367
.sidebar .block-viewed-products-grid {
7468
.products-grid {
7569
.product-item {
@@ -111,6 +105,12 @@
111105
// _____________________________________________
112106

113107
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
108+
.block.widget .products-grid .product-item,
109+
.page-layout-1column .block.widget .products-grid .product-item,
110+
.page-layout-3columns .block.widget .products-grid .product-item {
111+
width: 100%/3;
112+
}
113+
114114
.page-layout-1column .block.widget .products-grid .product-item {
115115
margin-left: 2%;
116116
width: calc(~'(100% - 4%)/3');

0 commit comments

Comments
 (0)