mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2026-10-25 23:47:44 +00:00
Solved container height bug
This commit is contained in:
1 file changed
+1
-1
@@ -17,7 +17,7 @@ function adjustScrollContainerHeight() {
|
||||
|
||||
// Calculate the available height for the scroll area
|
||||
const availableHeight = window.innerHeight - siblingsHeight;
|
||||
scrollContainer.style.maxHeight = availableHeight + 'px';
|
||||
scrollContainer.style.height = availableHeight + 'px';
|
||||
scrollContainer.style.overflowY = 'auto';
|
||||
scrollContainer.style.overflowX = 'hidden';
|
||||
|
||||
|
||||
Reference in new issue
Block a user