Improve styling of new version badge

This commit is contained in:
Quincy Morgan
2020-10-29 10:56:13 -04:00
parent 3727f26c13
commit d2989cf09c
2 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -37,15 +37,15 @@ export function uiVersion(context) {
// only show new version indicator to users that have used iD before
if (isNewVersion && !isNewUser) {
selection
.append('div')
.attr('class', 'badge')
.append('a')
.attr('class', 'badge')
.attr('target', '_blank')
.attr('href', 'https://github.com/openstreetmap/iD/blob/release/CHANGELOG.md#whats-new')
.call(svgIcon('#maki-gift-11'))
.call(uiTooltip()
.title(t.html('version.whats_new', { version: currVersion }))
.placement('top')
.scrollContainer(context.container().select('.main-footer-wrap'))
);
}
};