react-remove-scroll-bar
Version:
Removes body scroll without content _shake_
12 lines (11 loc) • 571 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.removedBarSizeVariable = exports.noScrollbarsClassName = exports.fullWidthClassName = exports.zeroRightClassName = void 0;
exports.zeroRightClassName = 'right-scroll-bar-position';
exports.fullWidthClassName = 'width-before-scroll-bar';
exports.noScrollbarsClassName = 'with-scroll-bars-hidden';
/**
* Name of a CSS variable containing the amount of "hidden" scrollbar
* ! might be undefined ! use will fallback!
*/
exports.removedBarSizeVariable = '--removed-body-scroll-bar-size';
;