diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-05-11 11:04:34 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-05-11 12:38:48 +0300 |
commit | 04ab2f1f021ff4f3e732da6ebbdfcb967c63f037 (patch) | |
tree | 8e08194311b218ead2c43739acf5d514a0b44915 /app | |
parent | 6350cb5e76e4765918102412abb3c278f76b9e9f (diff) |
Merge branch '46210-terms-acceptance-dropdown-menu' into 'master'
Resolve "Terms acceptance dropdown menu"
Closes #46210
See merge request gitlab-org/gitlab-ce!18862
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/framework/terms.scss | 9 | ||||
-rw-r--r-- | app/views/layouts/terms.html.haml | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/terms.scss b/app/assets/stylesheets/framework/terms.scss index 16293d32dfa..744fd0ff796 100644 --- a/app/assets/stylesheets/framework/terms.scss +++ b/app/assets/stylesheets/framework/terms.scss @@ -17,6 +17,7 @@ display: flex; align-items: center; justify-content: space-between; + line-height: $line-height-base; .title { display: flex; @@ -33,10 +34,14 @@ .navbar-collapse { padding-right: 0; + + .navbar-nav { + margin: 0; + } } - .nav li a { - color: $theme-gray-700; + .nav li { + float: none; } } diff --git a/app/views/layouts/terms.html.haml b/app/views/layouts/terms.html.haml index a30d6e2688c..87f4151f241 100644 --- a/app/views/layouts/terms.html.haml +++ b/app/views/layouts/terms.html.haml @@ -20,10 +20,10 @@ = brand_header_logo - logo_text = brand_header_logo_type - if logo_text.present? - %span.logo-text.hidden-xs.prepend-left-8 + %span.logo-text.prepend-left-8 = logo_text - if header_link?(:user_dropdown) - .navbar-collapse.collapse + .navbar-collapse %ul.nav.navbar-nav %li.header-user.dropdown = link_to current_user, class: user_dropdown_class, data: { toggle: "dropdown" } do |