From: Damien Lespiau Date: Mon, 26 Oct 2015 08:17:09 +0000 (+0000) Subject: ui: Don't allow to the date to wrap X-Git-Tag: v1.1.0~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782d4dba22c66d629c33866cbc128dd6a9638b31;p=thirdparty%2Fpatchwork.git ui: Don't allow to the date to wrap 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. v2: Extend the use of 'text-nowrap' to existing classes Signed-off-by: Damien Lespiau Acked-by: Stephen Finucane --- diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index bcbb3b92..00cbb52e 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -157,9 +157,9 @@ $(document).ready(function() { {% endif %} {{ patch.name|default:"[no subject]"|truncatechars:100 }} - {{ patch|patch_tags }} - {{ patch|patch_checks }} - {{ patch.date|date:"Y-m-d" }} + {{ patch|patch_tags }} + {{ patch|patch_checks }} + {{ patch.date|date:"Y-m-d" }} {{ patch.submitter|personify:project }} {{ patch.delegate.username }} {{ patch.state }}