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 { h1 {
// font-size: 36px; font-size: 36px;
font-weight: bold; font-weight: bold;
} }

View file

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

View file

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

View file

@ -4,7 +4,7 @@
.auth-form.sign-in-form .auth-form.sign-in-form
= form_for SuperAdmin.new, url: super_admin_session_path, html: { class: "form" } do |f| = 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.label :email, "Email (nom@site.com)"
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true = f.text_field :email, type: :email, autocomplete: 'username', autofocus: true

View file

@ -3,7 +3,7 @@
.auth-form .auth-form
= devise_error_messages! = devise_error_messages!
= form_for resource, url: user_registration_path, html: { class: "form" } do |f| = 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 } = render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }