tweak side menu

This commit is contained in:
Pig Fang 2020-07-04 15:02:38 +08:00
parent bf01939452
commit 9feb567d41
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -2,7 +2,7 @@
{% if item.children %}
<a class="nav-link {{ item.active ? 'active' }}" href="#">
<i class="nav-icon fas {{ item.icon }}"></i>
<p>{{ trans(item.title) }}</p>
<p class="ml-1">{{ trans(item.title) }}</p>
<i class="right fas fa-angle-left"></i>
</a>
<ul class="nav nav-treeview">
@ -20,7 +20,7 @@
{% endif %}
>
<i class="nav-icon {{ item.icon == 'fa-circle' ? 'far' : 'fas' }} {{ item.icon }}"></i>
&nbsp;<p>{{ trans(item.title) }}</p>
<p class="ml-1">{{ trans(item.title) }}</p>
</a>
{% endif %}
</li>