Add padding above anchor titles so they show up nice when scrolled to

This commit is contained in:
Fabio Berger
2018-08-01 19:02:20 +02:00
parent 5e3bbbbb3c
commit 32e1c2ac97
3 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ export class NestedSidebarMenu extends React.Component<NestedSidebarMenuProps, N
<ScrollLink
key={`menuItem-${menuItemName}`}
to={id}
offset={-10}
offset={0}
hashSpy={true}
duration={constants.DOCS_SCROLL_DURATION_MS}
containerId={constants.DOCS_CONTAINER_ID}