Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid moving content when blocking scrolling (#3369)
With previously introduced changes to scroll block, in certain situation the content is slightly moving. This happens when there is a scroll bar visible and some content is aligned next to the scrollbar. Setting the height to 100dvh ensures that the body is always taking the full available height which is necessary e.g. for the sidebar. Setting `position: relative` reverts the previous change where this was removed. This change mainly avoids moving content.
- Loading branch information