mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-10-31 07:29:02 +00:00 
			
		
		
		
	Solved menu open too top bug
This commit is contained in:
		| @@ -84,7 +84,7 @@ document.addEventListener('DOMContentLoaded', () => { | ||||
|     if (isTopLevel) { | ||||
|       // Top-Level-Menüs öffnen nur nach oben oder unten | ||||
|       if (spaceBelow < rect.height && spaceAbove > rect.height) { | ||||
|         submenu.style.bottom = `${window.innerHeight - parentRect.bottom}px`; | ||||
|         submenu.style.bottom = `${window.innerHeight - parentRect.bottom - parentRect.height}px`; | ||||
|         submenu.style.top = 'auto'; | ||||
|       } else { | ||||
|         submenu.style.top = `${parentRect.height}px`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user