From 44618d3d73c3add7e737c41145b8574391b7376e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 23 Oct 2025 21:54:22 +0200 Subject: [PATCH] Update proxmox-dashboard.tsx --- AppImage/components/proxmox-dashboard.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AppImage/components/proxmox-dashboard.tsx b/AppImage/components/proxmox-dashboard.tsx index 68fe1c8..f527229 100644 --- a/AppImage/components/proxmox-dashboard.tsx +++ b/AppImage/components/proxmox-dashboard.tsx @@ -133,12 +133,12 @@ export function ProxmoxDashboard() { const handleScroll = () => { const currentScrollY = window.scrollY - if (currentScrollY < 100) { + if (currentScrollY < 90) { setShowNavigation(true) - } else if (currentScrollY > lastScrollY + 20) { + } else if (currentScrollY > lastScrollY + 12) { // Scrolling down - hide navigation setShowNavigation(false) - } else if (currentScrollY < lastScrollY - 20) { + } else if (currentScrollY < lastScrollY - 12) { // Scrolling up - show navigation setShowNavigation(true) } @@ -317,7 +317,7 @@ export function ProxmoxDashboard() {