FIxed the clearing icon + jumping of fluid nav bar

This commit is contained in:
Tim Zallmann 2017-09-29 12:41:00 +02:00
parent e97e130e47
commit 5c17fe58fb
2 changed files with 2 additions and 1 deletions

View file

@ -287,6 +287,7 @@ import { isInGroupsPage, isInProjectPage, getGroupSlug, getProjectSlug } from '.
onClearInputClick(e) {
e.preventDefault();
this.wrap.toggleClass('has-value', !!e.target.value);
return this.searchInput.val('').focus();
}

View file

@ -120,7 +120,7 @@ header.navbar-gitlab-new {
.container-fluid {
.navbar-toggle {
min-width: 45px;
padding: 4px $gl-padding;
padding: 0 $gl-padding;
margin-right: -7px;
text-align: center;
color: currentColor;