Body Margin Right
-
When the lightbox opens up, it’s adding a
padding-right: 15px
to the<body>
tag. I believe this is to compensate the cases where theoverflow: hidden
hides the vertical scrollbar. But when there is no scrollbar at all, this padding still applies and gives some odd results.See this behaviour in action:
https://www.useloom.com/share/14046254bede46a38df0933800727748
I tried applying a
padding-right: 0 !important
to the body, which only inverts the problem (now it works good without a scrollbar but odd with the scrollbar).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Body Margin Right’ is closed to new replies.