diff --git a/.tool-versions b/.tool-versions deleted file mode 100644 index c15dc81..0000000 --- a/.tool-versions +++ /dev/null @@ -1 +0,0 @@ -nodejs 22.18.0 \ No newline at end of file diff --git a/assets/critical.css b/assets/critical.css index 153c0bb..903a8f5 100644 --- a/assets/critical.css +++ b/assets/critical.css @@ -304,6 +304,10 @@ img { flex-direction: column; } +.images__item { + width: 100%; +} + .images__text-area { flex: 1 1 auto; display: flex; diff --git a/assets/images.css b/assets/images.css index 0411180..e9e6934 100644 --- a/assets/images.css +++ b/assets/images.css @@ -1,3 +1,7 @@ +.images:not(:has(.carousel)) .block-frame .block-frame__buttons { + transform: translateX(-50%) !important; +} + .images__container--padding-top { padding-top: var(--padding-top-mobile, 0); } diff --git a/assets/product-card.css b/assets/product-card.css index 0fb5372..c432888 100644 --- a/assets/product-card.css +++ b/assets/product-card.css @@ -3,6 +3,7 @@ grid-template-rows: max-content 1fr; position: relative; min-width: 298px; + height: 100%; overflow: clip; border-radius: var(--border-radius-block-rounded); contain: content; diff --git a/sections/images.liquid b/sections/images.liquid index 7981d49..038f57e 100644 --- a/sections/images.liquid +++ b/sections/images.liquid @@ -334,14 +334,12 @@ {%- endif -%} {% comment %} CSS variables end {% endcomment %} - {%- if carousel -%} - {%- endfor -%} {%- if carousel -%} diff --git a/sections/products.liquid b/sections/products.liquid index 2a6976b..e94761a 100644 --- a/sections/products.liquid +++ b/sections/products.liquid @@ -122,41 +122,28 @@ {%- for item in items limit: items_limit -%} {%- assign index = forloop.index -%} - {% case items_type %} - {% when "blocks" %} - {% assign product = item.settings.product %} - {% when "collection" %} - {% assign product = item %} - {% endcase %} + {%- case items_type -%} + {%- when "blocks" -%} + {%- assign product = item.settings.product -%} + {%- assign id = item.id -%} + {%- when "collection" -%} + {%- assign product = item -%} + {%- assign id = product.id -%} + {%- endcase -%} - {%- if items_type == 'blocks' -%} - {% assign id = item.id %} - {%- else -%} - {% assign id = product.id %} - {%- endif -%} - - {%- if carousel -%} - {%- endfor -%} {%- if carousel -%} diff --git a/sections/testimonials.liquid b/sections/testimonials.liquid index 63a2e95..0f0a835 100644 --- a/sections/testimonials.liquid +++ b/sections/testimonials.liquid @@ -116,13 +116,11 @@ {%- assign position = block.settings.position -%} {%- assign stars = block.settings.stars -%} - {%- if carousel -%} -