Try fixing styling error

This commit is contained in:
Kumi 2021-10-24 17:41:38 +02:00
parent 6c6656abcb
commit 0ed152e061

View file

@ -18,7 +18,7 @@ class NavSection:
for item in self.items:
html += f"""
<!-- Nav Item -->
<li class="nav-item """ + ("active" if item.name == active else "") + f""">
<li class="nav-item""" + (" active" if item.name == active else "") + f"""">
<a class="nav-link" href="{item.url}">
<i class="{item.icon}"></i>
<span>{item.name}</span>