Merge pull request #913 from sgmap/fix_procedure_logo_on_ie_11
[fix #872] Procedure Logo: fix overflow logo for ie11
This commit is contained in:
commit
78a9629216
2 changed files with 5 additions and 3 deletions
|
@ -30,6 +30,10 @@
|
||||||
width: 93px;
|
width: 93px;
|
||||||
margin-right: 3 * $default-spacer;
|
margin-right: 3 * $default-spacer;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
background-image: url("your/url/here");
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 95% 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.procedure-title {
|
.procedure-title {
|
||||||
|
|
|
@ -7,9 +7,7 @@
|
||||||
= link_to(procedure_path(p)) do
|
= link_to(procedure_path(p)) do
|
||||||
.flex
|
.flex
|
||||||
|
|
||||||
.procedure-logo
|
.procedure-logo{ style: p.logo.present? ? "background-image: url(#{p.logo.url})" : nil }
|
||||||
- if p.logo.present?
|
|
||||||
= image_tag p.logo, alt: "Logo de la procédure"
|
|
||||||
|
|
||||||
.procedure-details
|
.procedure-details
|
||||||
%p.procedure-title
|
%p.procedure-title
|
||||||
|
|
Loading…
Reference in a new issue