views: make france-connect-information more compact
Otherwise it takes a lot of space in the form.
This commit is contained in:
parent
b8946137c7
commit
50b1d4ce28
2 changed files with 16 additions and 4 deletions
12
app/assets/stylesheets/france-connect-informations.scss
Normal file
12
app/assets/stylesheets/france-connect-informations.scss
Normal 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;
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
.card.featured
|
.france-connect-informations.card.featured.flex.align-center
|
||||||
.flex.justify-center
|
.france-connect-informations-logo
|
||||||
= image_tag "logo-france-connect.png", alt: "France Connect logo", width: 200, class: "mb-2"
|
= image_tag "logo-france-connect.png", alt: "France Connect logo"
|
||||||
.card-title
|
%div
|
||||||
- if user_information.updated_at.present?
|
- 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')}.
|
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
|
- else
|
||||||
|
|
Loading…
Reference in a new issue