Merge pull request #710 from sgmap/fix_login_style

Login: fix remember me checkbox and forget password link
This commit is contained in:
LeSim 2017-09-08 11:58:40 +02:00 committed by GitHub
commit 67ff7ccf7e
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,5 @@
@import "colors"; @import "colors";
@import "constants";
@import "placeholders"; @import "placeholders";
@import "mixins"; @import "mixins";
@ -60,7 +61,12 @@ $auth-breakpoint: 820px;
.auth-form { .auth-form {
.reset-password { .reset-password {
margin-top: 8px; margin-top: - 3 * $default-spacer;
margin-bottom: $default-spacer;
}
.remember-me {
display: inline-block;
} }
.separation { .separation {

View file

@ -38,7 +38,7 @@
- if devise_mapping.rememberable? - if devise_mapping.rememberable?
= f.check_box :remember_me, as: :boolean = f.check_box :remember_me, as: :boolean
= f.label :remember_me, "Se souvenir de moi" = f.label :remember_me, "Se souvenir de moi", class: 'remember-me'
= f.submit "Se connecter", class: "button large primary expand" = f.submit "Se connecter", class: "button large primary expand"