Commit a7fa6008 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix alignment of sign in/sign up button

parent 85b6b56a
...@@ -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