Skip to content

Commit 4b64f33

Browse files
committed
Update styles
1 parent 9c81433 commit 4b64f33

File tree

1 file changed

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

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@
111111
// _____________________________________________
112112

113113
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
114+
.page-layout-1column .block.widget .products-grid .product-item {
115+
margin-left: 2%;
116+
width: calc(~'(100% - 4%)/3');
117+
118+
&:nth-child(3n + 1) {
119+
margin-left: 0;
120+
}
121+
}
122+
114123
.block.widget .products-grid .product-item {
115124
width: 100%/3;
116125

0 commit comments

Comments
 (0)