diff --git a/app/assets/stylesheets/new_design/auth.scss b/app/assets/stylesheets/new_design/auth.scss index 9e241ecb4..87f29d6ea 100644 --- a/app/assets/stylesheets/new_design/auth.scss +++ b/app/assets/stylesheets/new_design/auth.scss @@ -1,4 +1,5 @@ @import "colors"; +@import "constants"; @import "placeholders"; @import "mixins"; @@ -60,7 +61,12 @@ $auth-breakpoint: 820px; .auth-form { .reset-password { - margin-top: 8px; + margin-top: - 3 * $default-spacer; + margin-bottom: $default-spacer; + } + + .remember-me { + display: inline-block; } .separation { diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 2c66cc6af..e140cf563 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -38,7 +38,7 @@ - if devise_mapping.rememberable? = 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"