MaLuns / hexo-theme-async

一个简单而轻量级的 Hexo 主题。 | A simple, lightweight Hexo theme.
https://hexo-theme-async.imalun.com
MIT License
327 stars 40 forks source link

[Bug]: 代码折叠块bug #62

Closed Hur1k closed 1 year ago

Hur1k commented 1 year ago

使用的 Hexo-Theme-Asycn 版本? | What version of Hexo-Theme-Asycn are you use?

v2.0.0

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的浏览器? || What browse are you using?

Other

使用的系統? || What operating system are you using?

Windows

问题描述 | Describe the bug

修改过的地方仅为:

  1. node_modules\hexo-theme-async\source\img 放入自定义的图片
  2. node_modules\hexo-theme-async\source\css_variables\index.less 自定义了主题样式

问题描述:

  1. 用的火狐,代码块内容过长时展开查看没有问题,但是重新折叠代码块的阅读位置有问题。例如我的代码块在文章的中间位置,展开后需要拉到最下面进行折叠,但是折叠之后阅读位置也就处于页尾了,不能继续阅读,需要拉滚动条返回之前的阅读位置
  2. 另外无意发现一个小问题嘻嘻,不过这个不要紧,就是在Chrome开启翻译此页功能后,滚动拖动页面的速度明显变慢了,不开的时候没问题

出现问题网站 | Website

https://hur1k.github.io/2023/02/01/N1Junior-Writeup/