fix: layout shift [2607]
Created by: Tirokk
Authored by rbeer Merged
🍰 Pullrequest
This change
- calculates the width of the vertical scrollbar (px-value)
- sets px-value as
padding-right
to.main-navigation
andbody
thus preventing the page's content from shifting when filling up space that the disappearing scrollbar leaves behind.
Issues
- fixes #2607 (closed)
- relates #2564 (closed)
Remake of #3151