From 5fb797a161acefc174400cdeb7c80867e2da70b7 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 3 Jan 2026 21:07:41 +0100 Subject: also set ic pane to 100% --- webAO/ui.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webAO/ui.js') 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%`; -- cgit