Merge pull request #860 from jupeter/format-wrapping

Fix wrapping of format table row
This commit is contained in:
William Durand 2016-06-02 11:29:59 +02:00
commit 970a78c614
2 changed files with 5 additions and 1 deletions

View File

@ -145,6 +145,10 @@ table tbody tr td {
line-height: 1.3em; line-height: 1.3em;
} }
table tbody tr td.format {
word-break: break-word;
}
#header { #header {
background-color: #89BF04; background-color: #89BF04;
padding: 1%; padding: 1%;

View File

@ -130,7 +130,7 @@
<td>{{ name }}</td> <td>{{ name }}</td>
<td>{{ infos.dataType is defined ? infos.dataType : '' }}</td> <td>{{ infos.dataType is defined ? infos.dataType : '' }}</td>
<td>{{ infos.required ? 'true' : 'false' }}</td> <td>{{ infos.required ? 'true' : 'false' }}</td>
<td>{{ infos.format }}</td> <td class="format">{{ infos.format }}</td>
<td>{{ infos.description is defined ? infos.description|trans : '' }}</td> <td>{{ infos.description is defined ? infos.description|trans : '' }}</td>
</tr> </tr>
{% endif %} {% endif %}