ui: Underline the logo along with 'Home' text when active

- This works properly in mobile sizes by underlining only the logo.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Sunil Mohan Adapa authored and Joseph Nuthalapati committed 2019-01-18 11:47:03 +05:30
1 parent eb19c9a319
commit bacb0c056a
2 files changed
+4 -2

No files matched your search

+3 -2
View File
@@ -99,8 +99,9 @@
<span class="icon-bar"></span>
</button>
{% block mainmenu_left %}
<a href="{% url 'index' %}" class="navbar-brand"
title="{{ box_name }}">
<a href="{% url 'index' %}" class="navbar-brand
{% if not submenu.url %} menu_link_active {% else %}
menu_link {% endif %}" title="{{ box_name }}">
<i class="fa fa-freedombox fa-2x fa-inverse" aria-hidden="true"></i>
</a>
{% endblock %}