From a1f8baefdc61ae2f80522e909b753fa5a733676c Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 19 Jun 2018 17:18:38 +0200 Subject: [PATCH] auth: fit the signup button on a single line --- app/assets/stylesheets/new_design/auth.scss | 4 ++++ app/views/users/sessions/new.html.haml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/new_design/auth.scss b/app/assets/stylesheets/new_design/auth.scss index 4aae42a3d..78d1c3e47 100644 --- a/app/assets/stylesheets/new_design/auth.scss +++ b/app/assets/stylesheets/new_design/auth.scss @@ -110,6 +110,10 @@ $auth-breakpoint: $two-columns-breakpoint; font-weight: bold; } } + + .auth-signup-button { + white-space: nowrap; + } } .identity-form { diff --git a/app/views/users/sessions/new.html.haml b/app/views/users/sessions/new.html.haml index 5a2e4a025..3412a0439 100644 --- a/app/views/users/sessions/new.html.haml +++ b/app/views/users/sessions/new.html.haml @@ -57,4 +57,4 @@ %p.register %span Nouveau sur demarches-simplifiees.fr ? - = link_to "Créer un compte", new_registration_path(resource_name), class: "button" + = link_to "Créer un compte", new_registration_path(resource_name), class: "button auth-signup-button"