From e8272a00bb295123d39bbb365d565b57fe79a827 Mon Sep 17 00:00:00 2001 From: mariomitte Date: Sun, 2 Aug 2026 23:31:10 +0200 Subject: [PATCH] fix: navbar mobile dropdown clipped left edge - use left-0 instead of right-0 The dropdown was anchored to right-0 of the
element. On mobile, the trigger button sits near the left side of the viewport so right-0 caused the panel to extend leftward off-screen. Changing to left-0 opens the panel rightward from the button, keeping it fully visible. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- frontend/src/components/Navbar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index e505e71..c732828 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -139,7 +139,7 @@ export default function Navbar({ minimal = false }) { ☰ {currentItem?.label || 'Izbornik'} {/* Dropdown je positioniran fixed-like kroz visoki z-index kako ne bi bio odsječen */} -
+
Navigacija