forked from mirror/MrDoc
修复文档长代码展开功能失效的问题
This commit is contained in:
parent
df5d2a3f96
commit
89341c75a7
@ -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 {
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user