root: missing vertical scrollbar when root's height overflows the workspace
This commit is contained in:
parent
6bc14d6cd5
commit
8381ca7531
3 changed files with 17 additions and 5 deletions
|
|
@ -18,6 +18,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
- osc listeners not resolving "auto" address
|
||||
- `ELECTRON_RUN_AS_NODE` headless mode not working without `--no-gui` option
|
||||
- ios: clone widget not laid out properly in horizontal panels
|
||||
- missing vertical scrollbar when root's height overflows the workspace
|
||||
|
||||
- ui
|
||||
- add console bottom panel with a simple script interpreter
|
||||
|
|
|
|||
|
|
@ -54,6 +54,15 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro
|
|||
}
|
||||
|
||||
|
||||
setContainerStyles(styles) {
|
||||
|
||||
super.setContainerStyles(styles)
|
||||
|
||||
this.container.classList.toggle('auto-height', this.getProp('height') === 'auto')
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -211,11 +211,13 @@
|
|||
height: 100%;
|
||||
|
||||
// optimize layout recalc
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
&.auto-height {
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
}
|
||||
|
||||
> inner {
|
||||
margin: var(--widget-spacing);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue