mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
eb19c9a319
commit
bacb0c056a
@ -99,8 +99,9 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
{% block mainmenu_left %}
|
{% block mainmenu_left %}
|
||||||
<a href="{% url 'index' %}" class="navbar-brand"
|
<a href="{% url 'index' %}" class="navbar-brand
|
||||||
title="{{ box_name }}">
|
{% 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>
|
<i class="fa fa-freedombox fa-2x fa-inverse" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -78,6 +78,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
|
height: 53px;
|
||||||
margin-right: -30px;
|
margin-right: -30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user