Merge pull request #3725 from betagouv/fix-fat-blue-button
commencer: fix fat two-lines button on small screens
This commit is contained in:
commit
2b09d16688
2 changed files with 10 additions and 1 deletions
|
@ -8,4 +8,10 @@
|
|||
.button {
|
||||
margin-bottom: 2 * $default-spacer;
|
||||
}
|
||||
|
||||
@media (max-width: 450px) {
|
||||
.optional-on-small-screens {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
.commencer.form
|
||||
- if !user_signed_in?
|
||||
%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']
|
||||
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue