aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2026-01-03 21:07:41 +0100
committerstonedDiscord <Tukz@gmx.de>2026-01-03 21:07:41 +0100
commit5fb797a161acefc174400cdeb7c80867e2da70b7 (patch)
treeac161b601badefa31c0be88f5fa9092076424cc2
parent55b3fa26de5f1c8781e2edbe6b8dee1787a21445 (diff)
also set ic pane to 100%
-rw-r--r--webAO/ui.js5
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%`;