Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ UNRELEASED
column. The full tag text is still available as a cell tooltip.
(Jelmer Vernooij, #708900)

- Break unbreakable strings (such as long URLs) in the revision
detail's commit-message block so they no longer overflow and
cover up the files-changed list next to it. Move the
``.information`` styling out of an inline ``style=`` attribute
into ``diff.css``. (Jelmer Vernooij, #449980)

3.0.0 [22Apr2026]
-----------------

Expand Down
10 changes: 10 additions & 0 deletions static/css/diff.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ ul#list-files li.desc {
font-size: 77%;
color: #666;
}
/* Commit message body inside the infobox. Preserve the author's
linebreaks and indentation (pre-wrap), but break unbreakable strings
such as long URLs so they don't overflow into the files list on the
right (bug #449980). */
.information {
white-space: pre-wrap;
overflow-wrap: anywhere;
word-break: break-word;
font-family: ui-monospace, monospace;
}
/*Diff Boxes*/
.diffBox {
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion templates/revision.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>Viewing all changes in revision {{ revno }}.</h1>
{% endfor %}
{% endif %}

<div class="information" style="white-space: pre-wrap; font-family: ui-monospace, monospace;">{{ message }}</div>
<div class="information">{{ message }}</div>
</div>

<ul id="list-files">
Expand Down
Loading