summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul C <bitsapien@gmail.com>2018-06-30 13:05:20 +0530
committerRahul C <bitsapien@gmail.com>2018-06-30 13:16:49 +0530
commit31c89e5bbb51be72bfeff9b2058040fae6a8879d (patch)
tree85d7ee639284f7595ca2fbd3dfacf8d4aa333a76
parent3a3233a5b9e4be15bedd9004c8520475fd38f5c5 (diff)
downloadgitlab-ce-31c89e5bbb51be72bfeff9b2058040fae6a8879d.tar.gz
Brought back the line separator to the left of the 'Admin area' wrench icon that had vanished
-rw-r--r--app/assets/stylesheets/framework/header.scss2
-rw-r--r--app/views/layouts/header/_default.html.haml2
-rw-r--r--changelogs/unreleased/48634-header-navbar-line-separator-is-missing.yml5
3 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 5789c3fa1b1..8bcaf5eb6ac 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -268,8 +268,6 @@
.navbar-sub-nav,
.navbar-nav {
- align-items: center;
-
> li {
> a:hover,
> a:focus {
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml
index 5cec443e969..d8e32651b36 100644
--- a/app/views/layouts/header/_default.html.haml
+++ b/app/views/layouts/header/_default.html.haml
@@ -21,7 +21,7 @@
- if current_user
= render 'layouts/header/new_dropdown'
- if header_link?(:search)
- %li.nav-item.d-none.d-sm-none.d-md-block
+ %li.nav-item.d-none.d-sm-none.d-md-block.m-auto
= render 'layouts/search' unless current_controller?(:search)
%li.nav-item.d-inline-block.d-sm-none.d-md-none
= link_to search_path, title: 'Search', aria: { label: "Search" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
diff --git a/changelogs/unreleased/48634-header-navbar-line-separator-is-missing.yml b/changelogs/unreleased/48634-header-navbar-line-separator-is-missing.yml
new file mode 100644
index 00000000000..92d9295982e
--- /dev/null
+++ b/changelogs/unreleased/48634-header-navbar-line-separator-is-missing.yml
@@ -0,0 +1,5 @@
+---
+title: Line separator to the left of the 'Admin area' wrench icon had vanished
+merge_request: 20282
+author: bitsapien
+type: fixed