diff --git a/app/assets/stylesheets/new_design/procedure_list.scss b/app/assets/stylesheets/new_design/procedure_list.scss index b73ec8929..a4fe579f2 100644 --- a/app/assets/stylesheets/new_design/procedure_list.scss +++ b/app/assets/stylesheets/new_design/procedure_list.scss @@ -30,6 +30,10 @@ width: 93px; margin-right: 3 * $default-spacer; flex-shrink: 0; + background-image: url("your/url/here"); + background-size: contain; + background-repeat: no-repeat; + background-position: 95% 50%; } .procedure-title { diff --git a/app/views/new_gestionnaire/procedures/index.html.haml b/app/views/new_gestionnaire/procedures/index.html.haml index 875c375e5..d9f95ad54 100644 --- a/app/views/new_gestionnaire/procedures/index.html.haml +++ b/app/views/new_gestionnaire/procedures/index.html.haml @@ -7,9 +7,7 @@ = link_to(procedure_path(p)) do .flex - .procedure-logo - - if p.logo.present? - = image_tag p.logo, alt: "Logo de la procédure" + .procedure-logo{ style: p.logo.present? ? "background-image: url(#{p.logo.url})" : nil } .procedure-details %p.procedure-title