修复文档长代码展开功能失效的问题

This commit is contained in:
yangjian 2023-02-09 18:16:05 +08:00
parent df5d2a3f96
commit 89341c75a7
4 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ ul.markdown-toc-list a{
ol.linenums li{
width: max-content;
}
pre.linenums{
pre.linenums,pre.line-numbers{
max-height: 500px;
}
li.L1, li.L3, li.L5, li.L7, li.L9 {

View File

@ -48,7 +48,7 @@
}
{% endif %}
{% if long_code == 'on' %}
pre.linenums,.vditor-reset > pre > code{
pre.linenums,pre.line-numbers,.vditor-reset > pre > code{
max-height: max-content!important;
}
{% endif %}

View File

@ -40,7 +40,7 @@
}
{% endif %}
{% if long_code == 'on' %}
pre.linenums,.vditor-reset > pre > code{
pre.linenums,pre.line-numbers,.vditor-reset > pre > code{
max-height: max-content!important;
}
{% endif %}

View File

@ -42,7 +42,7 @@
}
{% endif %}
{% if long_code == 'on' %}
pre.linenums,.vditor-reset > pre > code{
pre.linenums,pre.line-numbers,.vditor-reset > pre > code{
max-height: max-content!important;
}
{% endif %}