diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-06-17 10:17:00 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-06-17 10:17:00 +0100 |
commit | caadd2816a542ca0f0c890d34f5d33e35ef692c1 (patch) | |
tree | d258678648cdf67ee18777ec584fcd67531b2255 | |
parent | da7bc26c5278a1e42b678bd306e19052695d3f77 (diff) | |
download | gitlab-ce-47274-help-users-find-our-contributing-page.tar.gz |
Use text-nowrap instead of new rule47274-help-users-find-our-contributing-page
-rw-r--r-- | app/assets/stylesheets/framework/header.scss | 4 | ||||
-rw-r--r-- | app/views/layouts/header/_current_user_dropdown.html.haml | 2 |
2 files changed, 1 insertions, 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 |