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
center images in an a tag and increase image size to get rid of blur (#11337)
Matthew Kennedy72d8449f233c
diff --git a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss b/backend/app/assets/stylesheets/spree/backend/shared/_base.scssindex d277a59a31..2c720af18e 100644--- a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss+++ b/backend/app/assets/stylesheets/spree/backend/shared/_base.scss@@ -37,6 +37,10 @@ div.admin-product-image-container {justify-content: center;margin: auto;+ a {+ display: flex+ }+img {max-width: 100%;height: auto;diff --git a/backend/app/views/spree/admin/images/index.html.erb b/backend/app/views/spree/admin/images/index.html.erbindex 40e5c2810d..e98db044eb 100644--- a/backend/app/views/spree/admin/images/index.html.erb+++ b/backend/app/views/spree/admin/images/index.html.erb@@ -42,7 +42,7 @@</td><td class="image"><div class="admin-product-image-container small-img">- <%= link_to image_tag(main_app.url_for(image.url(:mini))), main_app.rails_blob_url(image.attachment) %>+ <%= link_to image_tag(main_app.url_for(image.url(:product))), main_app.rails_blob_url(image.attachment) %></div></td><% if has_variants %>