diff --git a/src/components/Drawer.astro b/src/components/Drawer.astro index b56b28f..0133cba 100644 --- a/src/components/Drawer.astro +++ b/src/components/Drawer.astro @@ -317,8 +317,8 @@ const sizeProperty = isHorizontal ? "width" : "height"; // Lock scroll if (this.lockScroll) { document.body.style.overflow = "hidden"; - document.body.style.paddingRight = - this.getScrollbarWidth() + "px"; + document.body.style.paddingRight = ""; + // this.getScrollbarWidth() + "px"; } // Show overlay