Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to add the MainMenu auto-hide function to make more room for toc. #26

Open
ZhongXiYi opened this issue Jun 22, 2024 · 6 comments

Comments

@ZhongXiYi
Copy link

I want to add the MainMenu auto-hide function to make more room for toc.

There are still a lot of suggestions that need to be revised, can I contact you by email?

@ZhongXiYi
Copy link
Author

Or the MainMenu is displayed on the home page, and collapsed on other pages.
Looking forward to your reply, thank you very much

@nicolasprigent
Copy link
Owner

hello @ZhongXiYi have you see the max height for both menus : it helps when you've got extensive amount of things in the menu or the toc. I think it should do the work, but if you've got a more specific use case, let me know.

image

@ZhongXiYi
Copy link
Author

@nicolasprigent
Dear developers, Superman (allow me to call you that, it's my adoration of you)! In my personal opinion, the setup you said might not be a very good idea.

Perhaps you can add an additional setting option, for example, if you are on the home page, you can display the MainMenu, because it is easier to navigate.

If you're visiting a different page, there's an option to hide it or make sure it's not shown. This will be a little more perfect in the display.

Do you approve of my idea? I don't mean to be offended, I just hope we can all do better!

@ZhongXiYi
Copy link
Author

@nicolasprigent
I'm using a translator now, so please forgive me if what I say is offensive.

@nicolasprigent
Copy link
Owner

Can you provide some screenshots of the problematic menu, and how it shows ? It seems like a specific use case but if it's something that could happen to other users I will fix it. The height fix solved previous user problem, it's not the most elegant thing but it should work.

@ZhongXiYi
Copy link
Author

My setup is like this.
1
The image below is my homepage:
2
When opening any page, this MENU obviously takes up a lot of space and affects the view of TOC.
3
Wouldn't it be better if you could set this MainMenu to be displayed on the home page and not on other pages?
Looking forward to your reply, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants