feat(title): avoid title issues

This commit is contained in:
Martin 2022-08-22 17:55:39 +02:00 committed by mfo
parent af00936aac
commit a48a8b6081
5 changed files with 4 additions and 5 deletions

View file

@ -37,7 +37,7 @@ dt {
}
h1 {
// font-size: 36px;
font-size: 36px;
font-weight: bold;
}

View file

@ -4,7 +4,6 @@
.france-connect-login {
h2 {
color: $black;
font-size: 24px;
}
}

View file

@ -1,6 +1,6 @@
- if FranceConnectService.enabled?
.france-connect-login
%h2.important-header
%h2.fr-h6.mb-0
= t('views.shared.france_connect_login.title')
%p
= t('views.shared.france_connect_login.description')

View file

@ -4,7 +4,7 @@
.auth-form.sign-in-form
= form_for SuperAdmin.new, url: super_admin_session_path, html: { class: "form" } do |f|
%h1 Connectez-vous
%h1.fr-h2 Connectez-vous
= f.label :email, "Email (nom@site.com)"
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true

View file

@ -3,7 +3,7 @@
.auth-form
= devise_error_messages!
= form_for resource, url: user_registration_path, html: { class: "form" } do |f|
%h1= t('views.registrations.new.title', name: APPLICATION_NAME)
%h1.fr-h2= t('views.registrations.new.title', name: APPLICATION_NAME)
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }