mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 06:01:02 +01: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
@ -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;
|
||||
|
@ -140,6 +140,8 @@ optgroup {
|
||||
.popover {
|
||||
background-color: var(--popover-background);
|
||||
border-color: var(--popover-border-colour);
|
||||
max-height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user