mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
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:
@@ -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>`;
|
||||
}
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user