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

View File

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