From 7e36a4e35702b3e5946303b4b9841c61924eee67 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Tue, 17 Mar 2020 15:44:57 +0100 Subject: [PATCH] Small support dropdown fixes --- app/assets/stylesheets/themes/menu_bar.scss | 8 ++++++++ app/views/shared/_left_menu_bar.html.erb | 14 ++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/themes/menu_bar.scss b/app/assets/stylesheets/themes/menu_bar.scss index bee1d6ec3..2f4944763 100644 --- a/app/assets/stylesheets/themes/menu_bar.scss +++ b/app/assets/stylesheets/themes/menu_bar.scss @@ -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) { diff --git a/app/views/shared/_left_menu_bar.html.erb b/app/views/shared/_left_menu_bar.html.erb index 1bf050ba8..dc9679a0e 100644 --- a/app/views/shared/_left_menu_bar.html.erb +++ b/app/views/shared/_left_menu_bar.html.erb @@ -73,6 +73,13 @@ <%= t('left_menu_bar.activities') %> <% end %> + +
  • "> + <%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %> + + <%= t('left_menu_bar.settings') %> + <% end %> +
  • -
  • "> - <%= link_to edit_user_registration_path, id: "settings-link", title: t('left_menu_bar.settings') do %> - - <%= t('left_menu_bar.settings') %> - <% end %> -
  • +
  • <%= link_to Constants::ACADEMY_BL_LINK, id: "academy-link",