Skip to content

armgit / spree

Public Imported from GitHub
0

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.

refine x nav

Matthew Kennedy5a5a2ff92480
diff --git a/backend/app/assets/javascripts/spree/backend/global/side_scroll_indication.es6 b/backend/app/assets/javascripts/spree/backend/global/side_scroll_indication.es6
index c74771bbf6..73ae92b421 100644
--- a/backend/app/assets/javascripts/spree/backend/global/side_scroll_indication.es6
+++ b/backend/app/assets/javascripts/spree/backend/global/side_scroll_indication.es6
@@ -111,7 +111,7 @@ function initHorizontalNav (containerEl) {
// Set active link into view
function focusActiveItem (containerEl, activeEl) {
- containerEl.scrollLeft = activeEl.offsetLeft - 45;
+ containerEl.scrollLeft = activeEl.offsetLeft - 45
}
// Determine Scroll status
diff --git a/backend/app/assets/stylesheets/spree/backend/plugins/overscroll_indicator.scss b/backend/app/assets/stylesheets/spree/backend/plugins/overscroll_indicator.scss
index 74756cd347..4459a5c614 100644
--- a/backend/app/assets/stylesheets/spree/backend/plugins/overscroll_indicator.scss
+++ b/backend/app/assets/stylesheets/spree/backend/plugins/overscroll_indicator.scss
@@ -26,8 +26,8 @@
z-index: 200;
}
- // Bug fix for iOS jittery elastic scroll from Bootstrap 4
- // transaition on pills and buttons nested a tag.
+ // Bug fix for iOS jittery elastic scroll from Bootstrap
+ // transaition on pills and buttons.
& > li > a {
transition: none !important;
}
diff --git a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss b/backend/app/assets/stylesheets/spree/backend/shared/_base.scss
index a37783667e..2365ffc502 100644
--- a/backend/app/assets/stylesheets/spree/backend/shared/_base.scss
+++ b/backend/app/assets/stylesheets/spree/backend/shared/_base.scss
@@ -17,9 +17,14 @@ figure.admin-img-holder {
ul#spreePageTabs {
li.nav-item {
+ margin-left: 0.2em;
a {
padding: 0.3rem 1rem;
}
+
+ &:first-child {
+ margin-left: 0;
+ }
}
}