From 15eb364ebd3ca82452b02754f831404e8d2b5126 Mon Sep 17 00:00:00 2001 From: Oleg Proskurin Date: Thu, 23 Oct 2025 22:27:51 +0700 Subject: [PATCH] fix: widget position --- .../components/shared/ApiKeyWidget/apikey-widget.tsx | 2 +- apps/landing/src/components/shared/SubsectionNav.tsx | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/landing/src/components/shared/ApiKeyWidget/apikey-widget.tsx b/apps/landing/src/components/shared/ApiKeyWidget/apikey-widget.tsx index ec41750..7e21611 100644 --- a/apps/landing/src/components/shared/ApiKeyWidget/apikey-widget.tsx +++ b/apps/landing/src/components/shared/ApiKeyWidget/apikey-widget.tsx @@ -106,7 +106,7 @@ export function ApiKeyWidget() { ) : ( // EXPANDED STATE - Popup dropdown -
+
{/* Header */}
diff --git a/apps/landing/src/components/shared/SubsectionNav.tsx b/apps/landing/src/components/shared/SubsectionNav.tsx index b226bf5..b133450 100644 --- a/apps/landing/src/components/shared/SubsectionNav.tsx +++ b/apps/landing/src/components/shared/SubsectionNav.tsx @@ -49,7 +49,7 @@ export const SubsectionNav = ({ items, currentPath, leftSlot, rightSlot }: Subse const isActive = (href: string) => currentPath.startsWith(href); return ( -
} - right={rightSlot} /> + {/* Right Slot - Absolutely Positioned */} + {rightSlot && ( +
+ {rightSlot} +
+ )} + {/* Decorative Wave Line */}