disable animation on docs menu

This commit is contained in:
cmsxbc 2022-01-22 14:17:48 +08:00
parent 9dddce13a7
commit 767d8d0a0a
No known key found for this signature in database
GPG Key ID: A58268D081411C9C

View File

@ -4,7 +4,7 @@
<a href="{{ base_url }}/{{ nav_item.children[0].url }}" title="{{ nav_item.title[:-14] }}" class="nav-link{% if nav_item.active%} text-white active{% else %} text-light{% endif %} text-wrap d-inline-block w-100 px-0">{{ nav_item.title[:-14] }}</a>
{% elif nav_item.children %}
<a href="#sidebar-{{ path }}" data-toggle="collapse" aria-expanded="{% if level < collapsed_threshold %}true{% else %}false{% endif %}" aria-controls="sidebar-{{ path }}" title="{{ nav_item.title }}" class="nav-link text-light dropdown-toggle px-0">{{ nav_item.title }}</a>
<div id="sidebar-{{ path }}" class="nav flex-column collapse{% if level < collapsed_threshold %} show{% endif %}">
<div id="sidebar-{{ path }}" class="nav flex-column collapse{% if level < collapsed_threshold %} show{% endif %}" style="transition-duration: unset;">
<nav class="nav flex-column pl-2">
{% set base = path %}
{% for nav_item in nav_item.children %}