Style translator

This commit is contained in:
Michal Čihař 2012-02-29 13:32:19 +01:00
parent dd2892e020
commit 2223744871
2 changed files with 5 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<input type="hidden" name="type" value="{{ type }}" /> <input type="hidden" name="type" value="{{ type }}" />
<input type="hidden" name="oldpos" value="{{ unit.position }}" /> <input type="hidden" name="oldpos" value="{{ unit.position }}" />
<table class="translator"> <table class="translator">
<tr><th>{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr> <tr><th class="source">{% trans "Source" %}</th><th>{% trans "Translation" %}<th></tr>
{% if unit.is_plural %} {% if unit.is_plural %}
{% else %} {% else %}
<tr><td>{{ unit.source }}</td><td colspan="2"> <tr><td>{{ unit.source }}</td><td colspan="2">

View File

@ -18,3 +18,7 @@ ul.footer li{
ul.footer a{ ul.footer a{
color:#333; color:#333;
} }
table.translator th.source {
width: 30em;
max-width: 50%;
}