vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Adding prev next arrow on both sides of the page for wide layout

Open laoshaw opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

For a long page I just want to skip to prev|next page fast, I now have to scroll down all the way to the bottom to find the left|right arrow. Would like to have a left and right arrow at the middle of the page for easier access instead, which is what gitbook, mdbook and others do by default. This is the only major feature I feel missing comparing to gitbook etc in vuepress and vitepress.

Describe the solution you'd like

Something like below(screenshot of a gitbook page)

image

Describe alternatives you've considered

For very narrow screen those arrow might need to turn off as it takes space, otherwise they can just stay on.

Additional context

No response

Validations

laoshaw avatar Feb 23 '22 14:02 laoshaw

Might be interesting idea 👀 I think we need some try and errors on designing the UI, but I think it's cool feature to have it on the list.

kiaking avatar May 23 '22 06:05 kiaking

If it is only displayed on the large screen, is it possible to put it together with the TOC as a resident toolbar?

Since it is now a three column design continue to add things to the Doc, I think it might be a bit cramped.

kecrily avatar Jun 16 '22 15:06 kecrily

Ah, good point. That might be interesting 🤔 Well in space perspective, we have more space left and right in 768px – 1280px range, so I think it's possible to add this arrows on those screen sizes.

In that case those arrows moving to aside on > 1280px might be confusing...

We should consider the design on every screen break point. But Having this in aside section sounds fair idea. Since I'm planning to have some kind of way to show aside section in > 1280px screen too.

kiaking avatar Jun 16 '22 15:06 kiaking

Personally, I don't like them and don't see the point since the navigation links are easily accessible on both the right and left sides.

Andrew-web-coder avatar Jan 18 '23 11:01 Andrew-web-coder

Closing this for now. Not getting so much attention, and I think this is not super common feature. Might be confusing 🤔

kiaking avatar Jan 20 '23 19:01 kiaking