veg / hyphy-site

HyPhy Markdown Site
MIT License
0 stars 8 forks source link

Difficult to scroll with side navigation #48

Closed stevenweaver closed 12 months ago

stevenweaver commented 6 years ago

I understand that this is the fault of the underlying template we are using, but I'm afraid that the difficult side navigation renders the site close to unusable for users with low resolution monitors and small laptops (for example, 1280x800).

I believe the most straightforward solution without having to re-skin the site is to, instead of displaying the subheader's children in the nav, create intermediate landing pages for the subheaders and display the children there.

vuepress has configuration options for sidenavs like so

    sidebar: {
      '/av/': [
       ['', 'Books, Audio, and Visual'],
       'does-the-internet-dream',
       'bubblegum-crisis-goofs',
       'home-videos'
      ],
      '/': [
        ['publications', "Publications"],
        ['misc/quotations', "Quotes"],
        ['av/', "Books, Audio, and Visual"]
      ]
   },

I am sure mkdocs has something similar.