perfect-gui 5.0.2 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/perfect-gui.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/dist/perfect-gui.js
CHANGED
|
@@ -632,7 +632,7 @@ class O {
|
|
|
632
632
|
let l = "p-gui__folder";
|
|
633
633
|
this.folders.length == 0 && (l += " p-gui__folder--first"), e && (l += " p-gui__folder--closed");
|
|
634
634
|
let s = c ? `background-color: ${c};` : "";
|
|
635
|
-
s += i ? `max-height: ${i}px;` : "";
|
|
635
|
+
s += i ? `max-height: ${i}px; overflow-y: auto;` : "";
|
|
636
636
|
const o = document.createElement("div");
|
|
637
637
|
o.className = l, o.style = s, this.wrapper.append(o);
|
|
638
638
|
const n = document.createElement("div");
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -334,7 +334,7 @@ export default class GUI {
|
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
let container_style = color ? `background-color: ${color};` : '';
|
|
337
|
-
container_style += maxHeight ? `max-height: ${maxHeight}px;` : '';
|
|
337
|
+
container_style += maxHeight ? `max-height: ${maxHeight}px; overflow-y: auto;` : '';
|
|
338
338
|
|
|
339
339
|
const container = document.createElement('div');
|
|
340
340
|
container.className = className;
|