-
The site menu is quite long. When we are in a section, scroll the menu to the relevant section. This is a bit hacky due to the navbar at the top and the way the theme is constructed. In order to avoid issues with the scrolling distance being incorrectly calculated (due to reflow of text as the side bar gets wider) animate as a drop-down instead of appearing from the side. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>
The site menu is quite long. When we are in a section, scroll the menu to the relevant section. This is a bit hacky due to the navbar at the top and the way the theme is constructed. In order to avoid issues with the scrolling distance being incorrectly calculated (due to reflow of text as the side bar gets wider) animate as a drop-down instead of appearing from the side. Signed-off-by:
Martyn Welch <martyn.welch@collabora.com>