mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Fixes gchq/CyberChef#137
Changes data-trigger to focus so scrolling works and sets max height.
This commit is contained in:
parent
d46e279933
commit
90ed62add2
2 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,7 @@ HTMLOperation.prototype.toStubHtml = function(removeIcon) {
|
||||||
|
|
||||||
if (this.description) {
|
if (this.description) {
|
||||||
html += " data-container='body' data-toggle='popover' data-placement='auto right'\
|
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;
|
html += ">" + this.name;
|
||||||
|
|
|
@ -140,6 +140,8 @@ optgroup {
|
||||||
.popover {
|
.popover {
|
||||||
background-color: var(--popover-background);
|
background-color: var(--popover-background);
|
||||||
border-color: var(--popover-border-colour);
|
border-color: var(--popover-border-colour);
|
||||||
|
max-height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue