Solved container height bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-06 22:18:28 +02:00
parent 531c2295bd
commit a80262c0d4
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -17,7 +17,7 @@ function adjustScrollContainerHeight() {
// Calculate the available height for the scroll area // Calculate the available height for the scroll area
const availableHeight = window.innerHeight - siblingsHeight; const availableHeight = window.innerHeight - siblingsHeight;
scrollContainer.style.maxHeight = availableHeight + 'px'; scrollContainer.style.height = availableHeight + 'px';
scrollContainer.style.overflowY = 'auto'; scrollContainer.style.overflowY = 'auto';
scrollContainer.style.overflowX = 'hidden'; scrollContainer.style.overflowX = 'hidden';