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
SD-866 Fix close button on gallery modal
Krzysztof Kalisz3e6f8d97f431
diff --git a/frontend/app/assets/stylesheets/spree/frontend/application.scss b/frontend/app/assets/stylesheets/spree/frontend/application.scssindex 2b7b922621..e2a874d692 100644--- a/frontend/app/assets/stylesheets/spree/frontend/application.scss+++ b/frontend/app/assets/stylesheets/spree/frontend/application.scss@@ -50,6 +50,7 @@@import "spree/frontend/views/spree/shared/product";@import "spree/frontend/views/spree/products/show";@import "spree/frontend/views/spree/products/cart_form";+@import "spree/frontend/views/spree/products/gallery_modal";@import "spree/frontend/views/spree/shared/product_added_modal";@import "spree/frontend/views/spree/shared/mobile_navigation";@import "spree/frontend/views/spree/shared/no_product_available";diff --git a/frontend/app/assets/stylesheets/spree/frontend/views/spree/products/gallery_modal.scss b/frontend/app/assets/stylesheets/spree/frontend/views/spree/products/gallery_modal.scssnew file mode 100644index 0000000000..35eb1d986d--- /dev/null+++ b/frontend/app/assets/stylesheets/spree/frontend/views/spree/products/gallery_modal.scss@@ -0,0 +1,6 @@+#picturesModal {+ .close {+ right: 0;+ z-index: 3;+ }+}diff --git a/frontend/app/views/spree/products/_gallery_modal.html.erb b/frontend/app/views/spree/products/_gallery_modal.html.erbindex f6161bb0a9..14b4d1f166 100644--- a/frontend/app/views/spree/products/_gallery_modal.html.erb+++ b/frontend/app/views/spree/products/_gallery_modal.html.erb@@ -3,7 +3,7 @@<div class="modal-dialog--zoom modal-dialog mw-100 vh-100 mt-0 mb-0" role="document"><div class="modal-content h-100"><div class="modal-body h-100">- <button type="button" class="close" data-dismiss="modal" aria-label="Close">+ <button type="button" class="close position-absolute" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><%= icon(name: 'close',classes: 'd-block d-lg-none',