Only adjust the What's New tooltip if the login/logout links are hidden

This commit is contained in:
Bryan Housel
2017-05-08 02:05:56 -04:00
parent 4ee5d7334b
commit 43cb17cdda
2 changed files with 9 additions and 4 deletions

View File

@@ -3450,19 +3450,23 @@ img.tile-removing {
right: 60px;
}
.badge .tooltip {
li:first-of-type .badge .tooltip,
li.hide + li.version .badge .tooltip {
left: auto !important;
right: 5px !important;
}
[dir='rtl'] .badge .tooltip {
[dir='rtl'] li:first-of-type .badge .tooltip,
[dir='rtl'] li.hide + li.version .badge .tooltip {
left: 5px !important;
right: auto !important;
}
.badge .tooltip .tooltip-arrow {
li:first-of-type .badge .tooltip .tooltip-arrow,
li.hide + li.version .badge .tooltip .tooltip-arrow {
right: 15px !important;
left: auto !important;
}
[dir='rtl'] .badge .tooltip .tooltip-arrow {
[dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
[dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
left: 15px !important;
right: auto !important;
}

View File

@@ -197,6 +197,7 @@ export function uiInit(context) {
aboutList
.append('li')
.attr('class', 'version')
.call(uiVersion(context));
var issueLinks = aboutList