From caadd2816a542ca0f0c890d34f5d33e35ef692c1 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Sun, 17 Jun 2018 10:17:00 +0100 Subject: Use text-nowrap instead of new rule --- app/assets/stylesheets/framework/header.scss | 4 ---- app/views/layouts/header/_current_user_dropdown.html.haml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss index 9530916dfa9..a119c8c5d3c 100644 --- a/app/assets/stylesheets/framework/header.scss +++ b/app/assets/stylesheets/framework/header.scss @@ -537,10 +537,6 @@ display: block; } } - - .link-item { - white-space: nowrap; - } } } diff --git a/app/views/layouts/header/_current_user_dropdown.html.haml b/app/views/layouts/header/_current_user_dropdown.html.haml index 1b2bcc33478..cdfd45fceb1 100644 --- a/app/views/layouts/header/_current_user_dropdown.html.haml +++ b/app/views/layouts/header/_current_user_dropdown.html.haml @@ -18,7 +18,7 @@ - if current_user_menu?(:help) || current_user_menu?(:settings) || current_user_menu?(:profile) %li.divider %li - = link_to "https://about.gitlab.com/contributing", target: '_blank', class: 'link-item' do + = link_to "https://about.gitlab.com/contributing", target: '_blank', class: 'text-nowrap' do = _("Contribute to GitLab") = icon('external-link') %li.divider -- cgit v1.2.1