Download:
child 189:4d25a227dc8b
parent 187:733e60f38046
188:b06da1c7560e
Anton Shestakov <av6@dwimlabs.net>, Wed, 27 Jul 2016 23:20:51 +0800
templates: cancel nowrap from the whole table for commit messages Apparently uk-text-break is not the right helper class for this. Huh.

2 файлов изменено, 5 вставок(+), 1 удалений(-) [+]
static/main.css file | annotate | diff | comparison | revisions
templates/project.html file | annotate | diff | comparison | revisions
--- a/static/main.css Wed Jul 27 23:17:24 2016 +0800
+++ b/static/main.css Wed Jul 27 23:20:51 2016 +0800
@@ -72,6 +72,10 @@
word-wrap: break-word;
}
+.wrap-normal {
+ white-space: normal;
+}
+
.uk-badge {
border: none;
border-radius: 3px;
--- a/templates/project.html Wed Jul 27 23:17:24 2016 +0800
+++ b/templates/project.html Wed Jul 27 23:20:51 2016 +0800
@@ -26,7 +26,7 @@
<td><a href="{{ adapter.get_branch_url(change) }}">{{ change.branch }}</a></td>
<td><a href="{{ adapter.get_commit_url(change) }}">{% if change.rev is not None %}{{ change.rev }}:{% end %}{{ change.node[:12] }}</a></td>
<td class="uk-width-1-1">
- <div class="uk-text-break">{{ change.message }}</div>
+ <div class="wrap-normal">{{ change.message }}</div>
<div>{{ change.author }}, {% module Time(change.date, False) %}</div>
</td>
<td>{% module Time(check.finished) %}</td>