diff options
| author | stonedDiscord <Tukz@gmx.de> | 2026-01-03 21:07:41 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2026-01-03 21:07:41 +0100 |
| commit | 5fb797a161acefc174400cdeb7c80867e2da70b7 (patch) | |
| tree | ac161b601badefa31c0be88f5fa9092076424cc2 | |
| parent | 55b3fa26de5f1c8781e2edbe6b8dee1787a21445 (diff) | |
also set ic pane to 100%
| -rw-r--r-- | webAO/ui.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webAO/ui.js b/webAO/ui.js index cdabd70..c3a4158 100644 --- a/webAO/ui.js +++ b/webAO/ui.js @@ -218,7 +218,12 @@ function adjustSplitter() { const columnHeight = column.element.clientHeight; if (columnHeight === 0) return; const percentage = Math.min(90, Math.max(10, (totalHeight / columnHeight) * 100)); + icItem.element.style.height = `${totalHeight}px`; + icItem.element.children[1].style.height = `100%`; + icItem.element.children[1].children[0].style.height = `100%`; + icItem.element.children[1].children[0].children[0].style.height = `100%`; + icOptionsItem.element.style.height = `calc(100% - ${totalHeight}px)`; icOptionsItem.element.children[1].style.height = `100%`; icOptionsItem.element.children[1].children[0].style.height = `100%`; |
