From 4a7f2dbb24f1c1332a6f0ad5f0533f22fe8e8f7d Mon Sep 17 00:00:00 2001 From: Patrick Jentsch <pjentsch@sfb1288inf-Laptop.fritz.box> Date: Thu, 23 Apr 2020 13:41:37 +0200 Subject: [PATCH] Add word-break to corpus file list. --- app/templates/corpora/corpus.html.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2 index 28b455df..a5f5b259 100644 --- a/app/templates/corpora/corpus.html.j2 +++ b/app/templates/corpora/corpus.html.j2 @@ -67,9 +67,9 @@ </tr> {% for file in corpus.files %} <tr> - <td>{{ file.filename }}</td> - <td>{{ file.author }}</td> - <td>{{ file.title }}</td> + <td style="word-break: break-word;">{{ file.filename }}</td> + <td style="word-break: break-word;">{{ file.author }}</td> + <td style="word-break: break-word;">{{ file.title }}</td> <td>{{ file.publishing_year }}</td> <td class="right-align"> <a class="btn-small waves-effect waves-light" href="{{ url_for('corpora.edit_corpus_file', corpus_file_id=file.id, corpus_id=corpus.id) }}"><i class="material-icons">edit</i></a> -- GitLab