Improve procedure logo on procedure#index
This commit is contained in:
parent
fe7f772f96
commit
b477adf586
2 changed files with 47 additions and 44 deletions
|
@ -26,16 +26,15 @@
|
|||
}
|
||||
|
||||
.procedure-logo {
|
||||
margin-right: 16px;
|
||||
width: 40px;
|
||||
border-bottom: 1px solid $border-grey;
|
||||
height: 93px;
|
||||
width: 93px;
|
||||
margin-right: 3 * $default-spacer;
|
||||
}
|
||||
|
||||
.procedure-title {
|
||||
min-height: 40px;
|
||||
font-size: 20px;
|
||||
margin-bottom: 16px;
|
||||
padding-left: $default-spacer;
|
||||
}
|
||||
|
||||
.procedure-status {
|
||||
|
|
|
@ -5,11 +5,15 @@
|
|||
- @procedures.each do |p|
|
||||
%li.procedure-item.flex.align-start
|
||||
= link_to(procedure_path(p)) do
|
||||
.flex
|
||||
|
||||
.procedure-logo
|
||||
- if p.logo.present?
|
||||
= image_tag p.logo, alt: "Logo de la procédure"
|
||||
|
||||
.procedure-details
|
||||
%p.procedure-title
|
||||
- if p.logo.present?
|
||||
= image_tag p.logo, class: "procedure-logo"
|
||||
#{p.libelle}
|
||||
= p.libelle
|
||||
|
||||
%ul.procedure-stats.flex
|
||||
%li
|
||||
|
|
Loading…
Reference in a new issue