Small support dropdown fixes

This commit is contained in:
Mojca Lorber 2020-03-17 15:44:57 +01:00
parent 2a2e479cd3
commit 7e36a4e357
2 changed files with 16 additions and 6 deletions

View file

@ -70,6 +70,10 @@
bottom: 0;
left: 99%;
margin-bottom: 0;
& > li > a {
padding: 8px 20px;
}
}
&.open > a {
@ -84,6 +88,10 @@
}
}
}
#support-link {
color: $brand-primary;
}
}
@media(max-height:510px) {

View file

@ -73,6 +73,13 @@
<span><%= t('left_menu_bar.activities') %></span>
<% end %>
</li>
<!-- settings -->
<li class="<%= "active" if settings_are_selected? %>">
<%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %>
<span class="fas fa-cog"></span>
<span><%= t('left_menu_bar.settings') %></span>
<% end %>
</li>
<!-- support -->
<li class="dropup">
<a href="#"
@ -102,12 +109,7 @@
</li>
</ul>
</li>
<li class="<%= "active" if settings_are_selected? %>">
<%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %>
<span class="fas fa-cog"></span>
<span><%= t('left_menu_bar.settings') %></span>
<% end %>
</li>
<!-- academy -->
<li>
<%= link_to Constants::ACADEMY_BL_LINK,
id: "academy-link",