style(attestation): cap logo size in free layout
This commit is contained in:
parent
1c3254755d
commit
3391d75633
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue