Open Undistraction opened 3 years ago
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
Or an offset based on screen width for mobile sites that have a fixed navigation bar at the top
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: