1
0
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:
Pedro Gutiérrez 2019-01-28 15:26:02 +01:00
parent ffee29e8db
commit 956fe45529

View File

@ -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>