Skip to content
This repository has been archived by the owner on Apr 22, 2018. It is now read-only.

Set paddingRight to scrollbar width when menu is open #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gbhrdt
Copy link

@gbhrdt gbhrdt commented Jan 9, 2017

This prevents an unwanted offset of the page, when the context menu is opened. The same technique is being used by bootstrap-modal, 15px is the width of the scroll bar.

gbhrdt added 2 commits January 9, 2017 15:44
This prevents an unwanted offset of the page, when the context menu is opened. The same technique is being used by bootstrap-modal, 15px is the width of the scroll bar.
@gbhrdt gbhrdt changed the title Set paddingRight = 15px to body when menu is open Set paddingRight to scrollbar width when menu is open Jan 9, 2017
@gbhrdt
Copy link
Author

gbhrdt commented Mar 2, 2017

Any update on this? @electerious

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant