Commit 10857793 by Иван Кубота

center all, make less swatches in row

parent 6a4c3bdd
...@@ -51,10 +51,10 @@ ...@@ -51,10 +51,10 @@
.sw_sm.matched { .sw_sm.matched {
border: 1px solid #000; border: 1px solid #000;
} }
.d-flex { .d-flex {
margin: 2px 4px; margin: 2px 20px;
text-align: center; text-align: center;
} }
.sw_sm { .sw_sm {
width: 10px; width: 10px;
height: 10px; height: 10px;
...@@ -567,7 +567,7 @@ ...@@ -567,7 +567,7 @@
"https://cdn.shopify.com/s/files/1/0275/8036/6900/files/2_Main_Vertical_Transparent.png?v=1575867010"; "https://cdn.shopify.com/s/files/1/0275/8036/6900/files/2_Main_Vertical_Transparent.png?v=1575867010";
} }
var out_put = ""; var out_put = "";
out_put = `<div style="width:240px"> out_put = `<div style="width:240px;text-align: center;">
<div class="grid-product__content"> <div class="grid-product__content">
<a class="grid-product__link " href="/products/${product.handle}" target="_blank"> <a class="grid-product__link " href="/products/${product.handle}" target="_blank">
<div class="grid-product__image-mask"> <div class="grid-product__image-mask">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment