refactor: remove overflow hidden cause of useless

This commit is contained in:
Vyacheslav Scherbinin
2025-08-13 10:07:08 +07:00
parent 6248abd88e
commit 66e6b56053

View File

@@ -61,7 +61,6 @@ const DialogContent = React.forwardRef<
const originalPaddingRight = body.style.paddingRight;
const originalOverflow = body.style.overflow;
body.style.overflow = "hidden";
if (scrollbarWidth > 0) {
body.style.paddingRight = `${scrollbarWidth}px`;
}