Swaps nametags to a div, sets a max-height (intentionally such that it clips a second line of tags, promoting curiosity to find the scroll

This commit is contained in:
Dannon Baker
2017-12-06 18:02:51 -05:00
parent 4d30b4f9cc
commit 2db85b3dd9
3 changed files with 6 additions and 4 deletions
@@ -7,7 +7,7 @@ function _labelIfName(tag) {
}
function nametagTemplate(historyItem) {
return `<span class="nametags">${_.sortBy(_.uniq(historyItem.tags))
return `<div class="nametags">${_.sortBy(_.uniq(historyItem.tags))
.map(_labelIfName)
.join("")}</span>`;
}
+4 -2
View File
@@ -221,7 +221,9 @@
}
}
}
span.nametags {
div.nametags {
max-height:26px;
overflow-y: auto;
span.label {
display: inline-block;
margin-right: 2px;
@@ -698,4 +700,4 @@
margin-right: 8px;
}
}
}
}
File diff suppressed because one or more lines are too long