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

有方法可以使category的菜单实现折叠吗 #1282

Closed
4 of 5 tasks
fkxie opened this issue Nov 22, 2019 · 9 comments
Closed
4 of 5 tasks

有方法可以使category的菜单实现折叠吗 #1282

fkxie opened this issue Nov 22, 2019 · 9 comments

Comments

@fkxie
Copy link

fkxie commented Nov 22, 2019

Please check if your Issue fulfills the following requirements. If you refuse to fill out the following information in accordance with the template, we may close your issue without conducting an investigation.
请务必确认您在提交此 Issue 前已经查看并完成了下列检查单中的所有事项。如果您拒绝根据模板填写以下信息,我们可能会在不进行调查的情况下关闭您的 Issue。

Issue Checklist

  • I am using the latest version of NexT.
  • I have executed hexo clean, cleared the browser cache and disabled all CDN services (e.g. Cloudflare Rocket Loader), this issue still exists.
  • I have confirmed that this issue only appears in theme NexT, but cannot be reproduced in other themes (e.g. default theme landscape). In other words, prove that this is a NexT issue, not a issue from Hexo.
  • I have already viewed NexT Documentation Site and Hexo Docs page, especially Troubleshooting part.
  • I have already viewed the latest Roadmap on GitHub and searched for current issues, which does not help me.

Expected behavior

预期能够折叠category中的分类目录
若是category中分类较多的话(包括多级目录),会使得category较长,导致查阅起来不方便

Thanks in advance.

Actual behavior

Steps to reproduce the behavior

  1. N/A
  2. N/A
  3. N/A

Environment Information

Node.js and NPM Information

node -v: v12.13.0
npm -v: 6.12.0

Package dependencies Information


Hexo Configuration

NexT Configuration

Other Information

@welcome
Copy link

welcome bot commented Nov 22, 2019

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@stevenjoezhang
Copy link
Contributor

若是category中分类较多的话(包括多级目录),会使得category较长,导致查阅起来不方便

您应该考虑到,如果折叠的话,会导致查阅起来更不方便

@fkxie
Copy link
Author

fkxie commented Nov 23, 2019

您好,我觉得可以通过再次点击展开。
不过这应该需要直接对源码进行修改,我会尝试一下

@stevenjoezhang
Copy link
Contributor

通过再次点击展开

那不就是我之前说的,会导致查阅起来更不方便
本来只用滑动就行了,现在不只要滑动,还要点击。

@fkxie
Copy link
Author

fkxie commented Nov 23, 2019 via email

@stevenjoezhang
Copy link
Contributor

分类可以尽量少写一点,标签多一点。典型的,一篇文章有一个分类和三个标签就很不错。
这种与用户习惯相关的东西很难由主题来控制。

@fkxie
Copy link
Author

fkxie commented Nov 23, 2019

感谢您的建议!

@sqduan
Copy link

sqduan commented Aug 13, 2020

我也希望能出一个使菜单折叠的功能,用户可以自由选择是否折叠,希望开发者可以考虑一下这个功能,谢谢了!

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

No branches or pull requests

3 participants