style(attestation): cap logo size in free layout

This commit is contained in:
Colin Darie 2024-01-10 11:25:20 +01:00
parent 1c3254755d
commit 3391d75633
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
2 changed files with 6 additions and 3 deletions

View file

@ -157,10 +157,13 @@
text-align: right;
margin-top: 14mm;
margin-right: 25mm;
}
.signature,
.logo-free-layout {
img {
max-height: 60mm;
max-width: 60mm;
max-height: 50mm;
max-width: 50mm;
}
}

View file

@ -8,7 +8,7 @@
= simple_format @attestation_template.label_logo.presence || "VOTRE INTITULE\ndu LOGO MARIANNE", class: "intitule"
= image_tag('liberte2.svg', alt: '', class: 'devise')
- elsif @attestation_template.logo.present?
.bloc-marque
.bloc-marque.logo-free-layout
= image_tag(@attestation_template.logo_url)
.right