[Fix #854] Give a length to libellé cells

This commit is contained in:
Simon Lehericey 2017-10-16 17:37:19 +02:00
parent e9733edb1b
commit 267591f27e
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,7 @@
@import "constants";
.dossier-champs {
.libelle {
width: 250px;
}
}

View file

@ -1,4 +1,4 @@
%table.table.vertical
%table.table.vertical.dossier-champs
%tbody
- champs.each do |c|
%tr
@ -6,7 +6,7 @@
%th.header-section{ colspan: 2 }
= c.libelle
- elsif c.type_champ != "explication"
%th
%th.libelle
= "#{c.libelle} :"
%td
= sanitize(c.value)