@kenlo/kdls-design-system 2.32.0 → 2.32.1
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/index.cjs +1 -1
- package/dist/index.js +4 -2
- package/kdls-manifest.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4093,8 +4093,10 @@ function N5(e) {
|
|
|
4093
4093
|
if (!e) return;
|
|
4094
4094
|
const { body: n, documentElement: l } = document;
|
|
4095
4095
|
if (p2 === 0) {
|
|
4096
|
-
const o = l.clientWidth
|
|
4097
|
-
|
|
4096
|
+
const o = l.clientWidth;
|
|
4097
|
+
P2 = { overflow: n.style.overflow, paddingRight: n.style.paddingRight }, n.style.overflow = "hidden";
|
|
4098
|
+
const s = (r = getComputedStyle(l).scrollbarGutter) == null ? void 0 : r.includes("stable"), i = o > 0 && !s ? Math.max(0, l.clientWidth - o) : 0;
|
|
4099
|
+
if (i > 0) {
|
|
4098
4100
|
const a = parseFloat(getComputedStyle(n).paddingRight) || 0;
|
|
4099
4101
|
n.style.paddingRight = `${a + i}px`, l.style.setProperty(Tt, `${i}px`);
|
|
4100
4102
|
}
|
package/kdls-manifest.json
CHANGED