mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-07-07 11:35:12 +02:00
Solved container height bug
This commit is contained in:
parent
531c2295bd
commit
a80262c0d4
@ -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';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user