mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
improved scroll spy detection
This commit is contained in:
parent
ffee29e8db
commit
956fe45529
@ -49,7 +49,7 @@ export default class Toc extends PureComponent {
|
||||
<Scrollspy
|
||||
items={subIds[0]}
|
||||
currentClassName={stylesSidebar.scrollspyActive}
|
||||
offset={300}
|
||||
offset={-30}
|
||||
>
|
||||
{this.subItems(children, name)}
|
||||
</Scrollspy>
|
||||
|
Loading…
Reference in New Issue
Block a user