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

目录显示异常 #8

Open
cutecwc opened this issue Sep 18, 2023 · 1 comment
Open

目录显示异常 #8

cutecwc opened this issue Sep 18, 2023 · 1 comment

Comments

@cutecwc
Copy link

cutecwc commented Sep 18, 2023

大佬你好,我在使用的时候发现一个小问题:

关于文章目录格式的问题。

这是预期的样子

image

这是现在的样子:

image

触发步骤:

在改变浏览器显示窗口尺寸时稳定触发。

  • 先用小窗口加载进一个有目录的文章,需要右侧显示有折叠的目录展开按钮
  • 第二步,放大窗口尺寸,让目录不以折叠的方式出现在右侧。

环境

windows 10, Edge 117.0.2045。

@changbin1997
Copy link
Owner

感谢反馈。

侧边的目录因为需要实现响应式和固定位置,PC 和小屏幕设备会使用不同的目录。打开页面的时候,会根据屏幕尺寸来初始化不同的目录,如果小窗口直接放大的话,没有初始化过的 PC 目录就无法正常显示。考虑到手机之类的设备无法切换窗口尺寸,所以在窗口尺寸改变的时候就没有做重新初始化的处理。这个问题我也会在下个版本修复。

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