Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixed no image view aspect ratio for storefront preview
Damian Legawiec91e79f4eca83
diff --git a/admin/app/views/spree/admin/themes/_theme_preview_image.html.erb b/admin/app/views/spree/admin/themes/_theme_preview_image.html.erbindex 7f28f60374..6d4cd3094e 100644--- a/admin/app/views/spree/admin/themes/_theme_preview_image.html.erb+++ b/admin/app/views/spree/admin/themes/_theme_preview_image.html.erb@@ -11,5 +11,7 @@loading: :lazy) %><% else %>- <%= render 'spree/admin/shared/no_image', width: width, height: height %>+ <div class="rounded bg-light text-muted d-flex align-items-center justify-content-center img-fluid" style="height: <%= height %>px">+ <%= icon('camera-off', class: 'text-muted opacity-50') %>+ </div><% end %>\ No newline at end of file