Skip to content

Commit

Permalink
Fix navbar dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Jan 20, 2020
1 parent 1bc9f7a commit 746cd25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_includes/global/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

{% for link_id in site.data.links.navbar %}
{% assign link = site.data.links.by_id[link_id] %}
<a class="navbar-item bd-navbar-item-{{ link.id }} {% if page.route == link.id %}is-active{% endif %}" href="{{ site.url }}{{ link.path }}/">
<a class="navbar-item bd-navbar-item-{{ link_id }} {% if page.route == link_id %}is-active{% endif %}" href="{{ site.url }}{{ link.path }}/">
<span class="icon has-text-{{ link.color }}">
<i class="{% if link.icon_brand %}fab{% elsif link.icon_regular %}far{% else %}fas{% endif %} fa-{{ link.icon }}"></i>
</span>
Expand Down Expand Up @@ -71,7 +71,7 @@

{% for link_id in site.data.links.more %}
{% assign link = site.data.links.by_id[link_id] %}
<a class="navbar-item {% if page.route == link_id %}is-active{% endif %}" href="{{ site.url }}{{ link.path }}">
<a class="navbar-item {% if page.route == link_id %}is-active{% endif %} {% if forloop.first %}is-hidden-widescreen{% endif %}" href="{{ site.url }}{{ link.path }}">
<span>
<span class="icon has-text-{{ link.color }}">
<i class="{% if link.icon_brand %}fab{% elsif link.icon_regular %}far{% else %}fas{% endif %} fa-{{ link.icon }}"></i>
Expand Down

0 comments on commit 746cd25

Please sign in to comment.