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

菜单显示问题 #157

Open
RealKiro opened this issue May 4, 2021 · 4 comments
Open

菜单显示问题 #157

RealKiro opened this issue May 4, 2021 · 4 comments

Comments

@RealKiro
Copy link

RealKiro commented May 4, 2021

PC端:

  • 子菜单很多的时候
    image
  • 产生的bug:子菜单显示无法向下滑动到底(鼠标放在子菜单上划不动,即使滑动也是划动的整个网页),导致剩下的子菜单内容被cut掉隐藏了
    image

移动端:

  • 子菜单默认全部展开
    image
  • 建议:移动端
- A
  - a
- B
  - b
    • ①当点击当前菜单A下的子菜单a时,其他与A同级的菜单B、C等的子菜单自动折叠隐藏;
- A
  - a
+ B
    • ②当点击子菜单a的上级菜单A时,子菜单a自动折叠隐藏或展开。
+ A
+ B
- A
  - a
+ B
@LIlGG
Copy link
Owner

LIlGG commented May 4, 2021

对于子菜单很多的情况,倒是没有具体试过,后续有时间了会进行测试然后看情况进行修改,但并不是很建议设置这么多的菜单。
另外移动端目前的逻辑就是全部展开,因为本主题的父菜单也是可以点击的,无论是否具有子菜单,因此无法实现像你说的那种方式

@RealKiro
Copy link
Author

RealKiro commented May 4, 2021

还有个问题:

image
image

文本当中的代码块标注的语言不统一需要手动指定太麻烦,可以默认指定为一种语言吗比如markdown?需要的时候再手动指定其他语言

@LIlGG
Copy link
Owner

LIlGG commented May 4, 2021

还有个问题:

image
image

文本当中的代码块标注的语言不统一需要手动指定太麻烦,可以默认指定为一种语言吗比如markdown?需要的时候再手动指定其他语言

不填写时,系统会首先自动识别,如果识别不到是什么语言,默认会设置为 text。但不保证自动识别的是你想要的,所以需要手动指定。这也是一个良好的 markdown 书写习惯。

@RealKiro
Copy link
Author

RealKiro commented May 9, 2021

image

  • 缩放网页时Bug如图:关于本站搜索框叠加到一起显示了

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