[WebProfilerBundle] Fix for CSS attribute at Profiler Translation Page

This commit is contained in:
Nikolay Labinskiy 2017-03-23 11:17:21 +02:00
parent e3d90db747
commit d980e706ad
2 changed files with 6 additions and 3 deletions

View File

@ -169,10 +169,10 @@
{% for message in messages %}
<tr>
<td class="font-normal text-small">{{ message.locale }}</td>
<td class="font-normal text-small text-bold">{{ message.domain }}</td>
<td class="font-normal text-small text-bold nowrap">{{ message.domain }}</td>
<td class="font-normal text-small">{{ message.count }}</td>
<td>
{{ message.id }}
<span class="nowrap">{{ message.id }}</span>
{% if message.transChoiceNumber is not null %}
<small class="newline">(pluralization is used)</small>
@ -189,7 +189,7 @@
</div>
{% endif %}
</td>
<td>{{ message.translation }}</td>
<td class="prewrap">{{ message.translation }}</td>
</tr>
{% endfor %}
</tbody>

View File

@ -197,6 +197,9 @@ table tbody ul {
.nowrap {
white-space: pre;
}
.prewrap {
white-space: pre-wrap;
}
.newline {
display: block;
}