-
Notifications
You must be signed in to change notification settings - Fork 427
Open
Description
Description
When the page uses scrollbar-gutter
, the right margin fix introduced in v3.8.3 doesn't account for this.
This leads to extra spacing, effectively reintroducing the issue for users utilizing scrollbar-gutter
.
Steps to reproduce
For Windows
- Visit the https://fylgja.dev/library/base/
- Click on search bar
- Observe how the elements beneath the popup modal shift to the right.
For Mac
- Change the scrollbar behavior to always visible.
- Visit the https://fylgja.dev/library/base/
- Click on search bar
- Observe how the elements beneath the popup modal shift to the right.
Expected behavior
Only apply the margin right fix if the page is not using scrollbar-gutter
on the html tag or make this margin right fix optional
Environment
- OS: Windows / Linux / macOS
- Browser: All browsers
- DocSearch version: 3.8.3 and newer
Relates to
Metadata
Metadata
Assignees
Labels
No labels