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
Add some small CSS bug fixes.
Matthew Kennedy2c69668f7287
diff --git a/backend/app/assets/stylesheets/spree/backend/plugins/_select2_custom.scss b/backend/app/assets/stylesheets/spree/backend/plugins/_select2_custom.scssnew file mode 100644index 0000000000..3ff112efc4--- /dev/null+++ b/backend/app/assets/stylesheets/spree/backend/plugins/_select2_custom.scss@@ -0,0 +1,18 @@+// style display:none on html attribute dosen't work,+// find more proper place for that style class+.select2-container--disabled {+ display: none;+}++// Stop an open select2-dropdown from appearing over fixed nav bar.+.select2-dropdown {+ z-index: 1028;+}++// Hides strange empty <li> tag highligted in open select2-dropdown+// Comment out below and see orders/filter Shipment State+ul.select2-results__options {+ li:empty {+ display: none;+ }+}diff --git a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss b/backend/app/assets/stylesheets/spree/backend/shared/_base.scssindex 38bc952292..3ccaf2a14c 100644--- a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss+++ b/backend/app/assets/stylesheets/spree/backend/shared/_base.scss@@ -15,11 +15,6 @@z-index: $zindex-dropdown;}-// style display:none on html attribute dosen't work, find more proper place for that style class-.select2-container--disabled {- display: none;-}-// No-margin and no-padding helper classes@each $side in top bottom left right {.no-margin-#{$side} { margin-#{side}: 0; }diff --git a/backend/app/assets/stylesheets/spree/backend/spree_admin.css.scss b/backend/app/assets/stylesheets/spree/backend/spree_admin.css.scssindex 00222de3f8..9ab3c887de 100644--- a/backend/app/assets/stylesheets/spree/backend/spree_admin.css.scss+++ b/backend/app/assets/stylesheets/spree/backend/spree_admin.css.scss@@ -20,6 +20,9 @@@import 'plugins/jquery_ui';@import 'plugins/flatpickr';+@import 'plugins/select2_custom';++@import 'shared/base';@import 'shared/forms';