aboutsummaryrefslogtreecommitdiff
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2019-11-07 11:18:21 -0800
committerUnknwon <u@gogs.io>2019-11-07 11:18:21 -0800
commit53d30ccde92f7891cf8691d18f109e28ea81d15c (patch)
treed3f25dbea507bac989e7209f08541b1ca91618ba /templates/repo
parent7d9f408d3acc2fce65021d6e6a78df3b44e7b73d (diff)
templates: fix line wrap for very long commit message
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/diff/page.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/repo/diff/page.tmpl b/templates/repo/diff/page.tmpl
index 6cddae6e..53a2c4eb 100644
--- a/templates/repo/diff/page.tmpl
+++ b/templates/repo/diff/page.tmpl
@@ -9,7 +9,9 @@
<a class="ui floated right blue tiny button" href="{{EscapePound .SourcePath}}">
{{.i18n.Tr "repo.diff.browse_source"}}
</a>
- {{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
+ <div class="commit-message">
+ {{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
+ </div>
</div>
<div class="ui attached info segment">
{{if .Author}}