tronquer uniquement label et mettre close-icon avant le text
This commit is contained in:
parent
89daaedbe4
commit
0593299def
2 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,7 @@
|
|||
.close-icon {
|
||||
vertical-align: top;
|
||||
margin-top: 12px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,10 +59,9 @@
|
|||
|
||||
- @current_filters.each do |filter|
|
||||
%span.filter
|
||||
= "#{truncate(filter['label']+' : '+filter['value'], length: 50)}"
|
||||
= link_to remove_filter_gestionnaire_procedure_path(@procedure, statut: @statut, table: filter['table'], column: filter['column']) do
|
||||
%img.close-icon{ src: image_url("close.svg") }
|
||||
|
||||
= "#{filter['label'].truncate(50)} : #{filter['value']}"
|
||||
%table.table.dossiers-table.hoverable
|
||||
%thead
|
||||
%tr
|
||||
|
|
Loading…
Reference in a new issue