mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Dropdown/popup for search and add widget are size constrained with scrollers.
This commit is contained in:
parent
d543d361d9
commit
6359118147
@ -161,7 +161,7 @@ export class Dashboard {
|
||||
listBtn.innerHTML = "<i class='fa fa-plus'></i> Add Widget";
|
||||
list.appendChild(listBtn);
|
||||
let listUl = document.createElement("ul");
|
||||
listUl.classList.add("dropdown-menu");
|
||||
listUl.classList.add("dropdown-menu", "dropdown-menu-sized");
|
||||
DashletMenu.forEach((d) => {
|
||||
let entry = document.createElement("li");
|
||||
let item = document.createElement("a");
|
||||
|
@ -117,5 +117,11 @@ body.dark-mode {
|
||||
z-index: 1000;
|
||||
visibility: hidden;
|
||||
transform: translateX(5%);
|
||||
max-height: 50%;
|
||||
overflow: auto;
|
||||
}
|
||||
.invalid { background-color: red }
|
||||
.invalid { background-color: red }
|
||||
.dropdown-menu-sized {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
Loading…
Reference in New Issue
Block a user