body-scroll-lock icon indicating copy to clipboard operation
body-scroll-lock copied to clipboard

Using logical css property instead of padding-right

Open functionalDev opened this issue 2 years ago • 0 comments

Current

For the option reserveScrollBarGap a padding-right is set on document.body, which is not considering the flow/writing direction (css property direction)

Proposed

Instead of setting the padding-right the corresponding logical css-property is set on document.body: padding-inline-end

functionalDev avatar Feb 23 '24 15:02 functionalDev