Commit e5fb1480 authored by Clement Ho's avatar Clement Ho

Merge branch '47338-sign-in-btn' into 'master'

Fix alignment of sign in/sign up button

Closes #47338

See merge request gitlab-org/gitlab-ce!19587
parents 35c73ef9 a7fa6008
...@@ -305,14 +305,6 @@ img.emoji { ...@@ -305,14 +305,6 @@ img.emoji {
margin-bottom: 10px; margin-bottom: 10px;
} }
.btn-sign-in {
text-shadow: none;
@include media-breakpoint-up(sm) {
margin-top: 8px;
}
}
.side-filters { .side-filters {
fieldset { fieldset {
margin-bottom: 15px; margin-bottom: 15px;
......
...@@ -447,12 +447,16 @@ ...@@ -447,12 +447,16 @@
.btn-sign-in { .btn-sign-in {
background-color: $indigo-100; background-color: $indigo-100;
color: $indigo-900; color: $indigo-900;
margin-top: 3px;
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
line-height: 18px;
&:hover { &:hover {
background-color: $white-light; background-color: $white-light;
} }
@include media-breakpoint-down(xs) {
margin-top: $gl-padding-4;
}
} }
.navbar-nav { .navbar-nav {
......
...@@ -29,7 +29,7 @@ input[type="checkbox"]:hover { ...@@ -29,7 +29,7 @@ input[type="checkbox"]:hover {
} }
.search { .search {
margin: 4px 8px 0; margin: 0 8px;
form { form {
@extend .form-control; @extend .form-control;
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
- if header_link?(:sign_in) - if header_link?(:sign_in)
%li.nav-item %li.nav-item
%div %div
= link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'nav-link btn btn-sign-in' = link_to "Sign in / Register", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in'
%button.navbar-toggler.d-block.d-sm-none{ type: 'button' } %button.navbar-toggler.d-block.d-sm-none{ type: 'button' }
%span.sr-only Toggle navigation %span.sr-only Toggle navigation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment