Changes data-trigger to focus so scrolling works and sets max height.
This commit is contained in:
Matt C 2017-07-25 11:49:23 +01:00
parent d46e279933
commit 90ed62add2
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ HTMLOperation.prototype.toStubHtml = function(removeIcon) {
if (this.description) {
html += " data-container='body' data-toggle='popover' data-placement='auto right'\
data-content=\"" + this.description + "\" data-html='true' data-trigger='hover'";
data-content=\"" + this.description + "\" data-html='true' data-trigger='focus' tabindex='0'";
}
html += ">" + this.name;

View File

@ -140,6 +140,8 @@ optgroup {
.popover {
background-color: var(--popover-background);
border-color: var(--popover-border-colour);
max-height: 100%;
overflow-y: auto;
}