Skip to content

Commit

Permalink
patch: Don't allow to the date to wrap
Browse files Browse the repository at this point in the history
When rendered on smaller screens, the mininum column size for the date
was reached and the text was wrapping. We can force it to not wrap with
white-space: nowrap; and bootstrap already includes a convenient
text-nowrap class.

Fixes: #44
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Oct 26, 2015
1 parent 10a6ddb commit fd66a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patchwork/templates/patchwork/patch-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
{% for tag in project.tags %}
{{ patch|patch_tags:tag }}
{% endfor %}
<td>{{ patch.date|date:"Y-m-d" }}</td>
<td class="text-nowrap">{{ patch.date|date:"Y-m-d" }}</td>
<td>{{ patch.submitter|personify:project }}</td>
<td>{{ patch.delegate.username }}</td>
<td>{{ patch.state }}</td>
Expand Down

0 comments on commit fd66a36

Please sign in to comment.