commencer: fix fat two-lines button on small screens
This commit is contained in:
parent
b8c309acdb
commit
015a591efd
2 changed files with 10 additions and 1 deletions
|
@ -8,4 +8,10 @@
|
||||||
.button {
|
.button {
|
||||||
margin-bottom: 2 * $default-spacer;
|
margin-bottom: 2 * $default-spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 450px) {
|
||||||
|
.optional-on-small-screens {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
.commencer.form
|
.commencer.form
|
||||||
- if !user_signed_in?
|
- if !user_signed_in?
|
||||||
%h1 Commencer la démarche
|
%h1 Commencer la démarche
|
||||||
= link_to 'Créer un compte demarches-simplifiees.fr', commencer_sign_up_path(path: @procedure.path), class: ['button large expand primary']
|
= link_to commencer_sign_up_path(path: @procedure.path), class: ['button large expand primary'] do
|
||||||
|
Créer un compte
|
||||||
|
%span.optional-on-small-screens
|
||||||
|
demarches-simplifiees.fr
|
||||||
= link_to 'J’ai déjà un compte', commencer_sign_in_path(path: @procedure.path), class: ['button large expand']
|
= link_to 'J’ai déjà un compte', commencer_sign_in_path(path: @procedure.path), class: ['button large expand']
|
||||||
|
|
||||||
- else
|
- else
|
||||||
|
|
Loading…
Reference in a new issue