Fix issue where fixes would not expand when clicking an issue

Rename issue label class to messages
Remove fix list animation
This commit is contained in:
Quincy Morgan
2019-02-15 13:40:45 -05:00
parent 6cb4359d13
commit 31eb837596
4 changed files with 47 additions and 46 deletions
+9 -9
View File
@@ -131,23 +131,23 @@ export function uiIssues(context) {
});
var labelsEnter = itemsEnter
var messagesEnter = itemsEnter
.append('button')
.attr('class', 'label');
.attr('class', 'message');
labelsEnter
messagesEnter
.call(tooltip()
.html(true)
.title(function(d) { return uiTooltipHtml(d.tooltip); })
.placement('top')
);
labelsEnter
messagesEnter
.append('span')
.attr('class', 'issue-icon')
.call(svgIcon('', 'pre-text'));
labelsEnter
messagesEnter
.append('span')
.attr('class', 'issue-text');
@@ -171,17 +171,17 @@ export function uiIssues(context) {
.append('div')
.call(svgIcon('#iD-icon-apply', 'pre-text'));
var noIssuesLabel = selection
var noIssuesMessage = selection
.append('span');
noIssuesLabel
noIssuesMessage
.append('strong')
.text(t('issues.no_issues.message'));
noIssuesLabel
noIssuesMessage
.append('br');
noIssuesLabel
noIssuesMessage
.append('span')
.text(t('issues.no_issues.info'));
}