diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-23 13:30:26 +0200 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-15 08:28:49 +0200 |
commit | bd0bf40763ed7acd43d24413f4b4a421f0076242 (patch) | |
tree | ba19413112ea3a7fc1041819541aa9e384ad260c /app | |
parent | 74bfba72263ae28a1a9a9fd53984e5d11a125fa7 (diff) | |
download | gitlab-ce-bd0bf40763ed7acd43d24413f4b4a421f0076242.tar.gz |
Make style fixes, make all submit buttons full-width btn-block.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/login.scss | 5 | ||||
-rw-r--r-- | app/views/devise/sessions/_new_base.html.haml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/login.scss b/app/assets/stylesheets/pages/login.scss index 9cc1bf90122..f680fd68d70 100644 --- a/app/assets/stylesheets/pages/login.scss +++ b/app/assets/stylesheets/pages/login.scss @@ -198,6 +198,11 @@ font-weight: normal; } + input[type="submit"] { + @extend .btn-block; + margin-bottom: 0px; + } + .devise-errors { h2 { margin-top: 0; diff --git a/app/views/devise/sessions/_new_base.html.haml b/app/views/devise/sessions/_new_base.html.haml index cfb1b964d76..d0cd418236a 100644 --- a/app/views/devise/sessions/_new_base.html.haml +++ b/app/views/devise/sessions/_new_base.html.haml @@ -5,8 +5,6 @@ %div.form-group = f.label :password = f.password_field :password, class: "form-control bottom", required: true, title: "This field is required." - .sign-in - = f.submit "Sign in", class: "btn btn-save" - if devise_mapping.rememberable? .remember-me.checkbox %label{for: "user_remember_me"} @@ -14,3 +12,5 @@ %span Remember me .pull-right = link_to "Forgot your password?", new_password_path(resource_name) + %div.prepend-top-20 + = f.submit "Sign in", class: "btn btn-save" |