volantis-x / hexo-theme-volantis

A Wonderful Theme for Hexo.
https://volantis.js.org
MIT License
1.99k stars 595 forks source link

【问题】:目录中标题显示不完整 #831

Closed ElainaFanBoy closed 1 year ago

ElainaFanBoy commented 1 year ago

检查清单

主题版本

5.x

复现地址

https://www.ch3rry.cn/posts/IRONY.html

问题描述

P 0UXYYO{_PZP{J}OL 15YJ JCKHB@ 8WF48KB61ENUP6TU

我的文章里第1个二级标题里有3个三级标题,其中第1个三级标题里有40个四级标题,但是点开第1个三级标题desktop和mobile中都无法全部显示,只能显示到第38个,并且一直到下一个二级目录之前,后面的三级目录和四级目录都显示不出来

复现地址:https://www.ch3rry.cn/posts/IRONY.html

仓库地址:https://github.com/NanakoOfficial/Ch3rry.github.io

配置文件

主题配置文件

```yml toc: class: toc display: [desktop, mobile] # [desktop, mobile] sticky: true header: icon: fa-solid fa-list title: 本文目录 list_number: false min_depth: 2 max_depth: 5 ```

环境信息

node.js & npm

``` node v16.17.0 npm 8.15.0 ```

package.json

``` hexo 6.3.0 ```

Volantis

``` hexo-theme-volantis 5.7.7 ```

Tikas commented 1 year ago

本想复现一下,去仓库地址,clone 回来竟然发现是已编译的静态文件,好吧,这还真仓库哇。

以现有的信息,非常抱歉,我无法在本地复现您这出现的情况

ElainaFanBoy commented 1 year ago

本想复现一下,去仓库地址,clone 回来竟然发现是已编译的静态文件,好吧,这还真仓库哇。

以现有的信息,非常抱歉,我无法在本地复现您这出现的情况

呜呜我是直接本地部署git推上去的,那我直接发您我本地的文件可以吗

ElainaFanBoy commented 1 year ago

本想复现一下,去仓库地址,clone 回来竟然发现是已编译的静态文件,好吧,这还真仓库哇。

以现有的信息,非常抱歉,我无法在本地复现您这出现的情况

myblog.zip

MHuiG commented 1 year ago
#l_side .toc-wrapper .toc-item.active>.toc-child {
    max-height: 20000px !important;
}

原来是 max-height: 1000px;

image

ElainaFanBoy commented 1 year ago
#l_side .toc-wrapper .toc-item.active>.toc-child {
    max-height: 20000px !important;
}

原来是 max-height: 1000px;

image

懂了,感谢大佬

Tikas commented 1 year ago

利害了!竟然这么快解决