summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-02-13 09:52:32 +0100
committerJelle van der Waa <jelle@archlinux.org>2020-05-22 23:05:43 +0200
commitea6a9d9357ff3c851ab80947a7af66c3c0c0d7c9 (patch)
treeca64c0a84f85e3feab4c542ab32a3b0b95cf7b80
parent16b3ee065f6a977222e5b7704ea870e3e799e99c (diff)
downloadarchweb-ea6a9d9357ff3c851ab80947a7af66c3c0c0d7c9.tar.gz
archweb-ea6a9d9357ff3c851ab80947a7af66c3c0c0d7c9.zip
allow todo list name to wrap
We have quite long todo list names, with attribute "nowrap" this looks pretty strange on small screens.
-rw-r--r--templates/devel/index.html2
-rw-r--r--templates/todolists/list.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 793a2bad..873b9fa5 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -136,7 +136,7 @@
<tbody>
{% for todo in todos %}
<tr>
- <td><a href="{{ todo.get_absolute_url }}"
+ <td class="wrap"><a href="{{ todo.get_absolute_url }}"
title="View todo list: {{ todo.name }}">{{ todo.name }}</a></td>
<td>{{ todo.created|date }}</td>
<td>{{ todo.creator.get_full_name }}</td>
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index 7b5f5648..75066a8d 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -35,7 +35,7 @@
<tbody>
{% for list in lists %}
<tr>
- <td><a href="{{ list.get_absolute_url }}"
+ <td class="wrap"><a href="{{ list.get_absolute_url }}"
title="View todo list: {{ list.name }}">{{ list.name }}</a></td>
<td>{{ list.created|date }}</td>
<td>{{ list.creator.get_full_name }}</td>