Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Per-link offset #33

Open
Undistraction opened this issue Feb 15, 2021 · 1 comment
Open

Feature Request: Per-link offset #33

Undistraction opened this issue Feb 15, 2021 · 1 comment

Comments

@Undistraction
Copy link

Undistraction commented Feb 15, 2021

It would be great to be able to specify an offset for specific links to override the global offset. This could be provided in the form of a query string that is parsed out by the plugin when introspecting for the hash:

https://example.com/?offset=30#some-component-id
@shelleyphant
Copy link

Or an offset based on screen width for mobile sites that have a fixed navigation bar at the top

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

No branches or pull requests

2 participants