@commmerce/ui 1.20.3 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/base.js CHANGED
@@ -8,6 +8,10 @@ export const base = css `
8
8
  }
9
9
  :host([hidden]) { display: none !important; }
10
10
  *, *::before, *::after { box-sizing: inherit; }
11
+ /* Scroll areas scroll, but never draw a scrollbar: a classic (always-on) scrollbar takes width as it appears and
12
+ shifts the layout. Overflow is shown instead by the component (fades, "more" hints, sticky edges). */
13
+ :host, * { scrollbar-width: none; }
14
+ ::-webkit-scrollbar { display: none; }
11
15
  `;
12
16
  export const focusRing = css `
13
17
  outline: 2px solid var(--cm-border-strong);