Skip to content

Commit 2852ecb

Browse files
heipeibrotherbard
authored andcommitted
History: Correctly wrap lots of tags
When there are many tags in a commit we want them to wrap. This fixes lighthouse ticket #220. Signed-off-by: Johannes Gilger <[email protected]>
1 parent f4a6d3f commit 2852ecb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html/views/history/history.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ a.showdiff {
130130
font-size: 9px;
131131
font-family: Helvetica;
132132
border: 1px solid black;
133-
margin-right: 5px;
133+
margin-right: 2px;
134134
padding: 1px 3px 1px 3px;
135135
-webkit-border-radius: 2px;
136136
}

html/views/history/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ var showRefs = function() {
161161
refs.innerHTML = "";
162162
for (var i = 0; i < commit.refs.length; i++) {
163163
var ref = commit.refs[i];
164-
refs.innerHTML += '<span class="refs ' + ref.type() + (commit.currentRef == ref.ref ? ' currentBranch' : '') + '">' + ref.shortName() + '</span>';
164+
refs.innerHTML += '<span class="refs ' + ref.type() + (commit.currentRef == ref.ref ? ' currentBranch' : '') + '">' + ref.shortName() + '</span> ';
165165
}
166166
} else
167167
refs.parentNode.style.display = "none";

0 commit comments

Comments
 (0)