MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / getOriginalBodyPadding

Function getOriginalBodyPadding

src/utils.js:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26export function getOriginalBodyPadding() {
27 const style = window.getComputedStyle(document.body, null);
28
29 return parseInt((style && style.getPropertyValue('padding-right')) || 0, 10);
30}
31
32export function conditionallyUpdateScrollbar() {
33 const scrollbarWidth = getScrollbarWidth();

Callers 2

initFunction · 0.90
initFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…