views: make france-connect-information more compact

Otherwise it takes a lot of space in the form.
This commit is contained in:
Pierre de La Morinerie 2021-10-12 16:16:38 +02:00
parent b8946137c7
commit 50b1d4ce28
2 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,12 @@
@import "constants";
.france-connect-informations.card {
width: 100%;
padding-top: $default-spacer;
padding-bottom: $default-spacer;
}
.france-connect-informations-logo img {
width: 100px;
margin-right: $default-padding;
}

View file

@ -1,7 +1,7 @@
.card.featured
.flex.justify-center
= image_tag "logo-france-connect.png", alt: "France Connect logo", width: 200, class: "mb-2"
.card-title
.france-connect-informations.card.featured.flex.align-center
.france-connect-informations-logo
= image_tag "logo-france-connect.png", alt: "France Connect logo"
%div
- if user_information.updated_at.present?
Le dossier a été déposé par le compte de #{user_information&.given_name} #{user_information&.family_name}, authentifié par France Connect le #{user_information.updated_at.strftime('%d/%m/%Y')}.
- else