From 80ae280941dd00b371b7dbf70f91d35920aa25e2 Mon Sep 17 00:00:00 2001 From: "yves.gugger" Date: Wed, 10 Dec 2025 15:31:53 +0100 Subject: [PATCH] fix: Dropdown menu opens upward + remove accent from StatCards 1. Portfolio dropdown menu: - Changed from 'top-full' to 'bottom-full' - Menu now opens upward to not get cut off by table 2. Removed green accent highlighting from StatCards: - Portfolio: Expiring Soon - Watchlist: Available - Auctions: Ending Soon - Marketplace: Verified Sellers - Alerts: Active Alerts --- frontend/src/app/command/alerts/page.tsx | 2 +- frontend/src/app/command/auctions/page.tsx | 2 +- frontend/src/app/command/marketplace/page.tsx | 2 +- frontend/src/app/command/portfolio/page.tsx | 5 ++--- frontend/src/app/command/watchlist/page.tsx | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/command/alerts/page.tsx b/frontend/src/app/command/alerts/page.tsx index c4db2ee..7d699d2 100644 --- a/frontend/src/app/command/alerts/page.tsx +++ b/frontend/src/app/command/alerts/page.tsx @@ -235,7 +235,7 @@ export default function SniperAlertsPage() { {/* Stats */}
- a.is_active).length} icon={Bell} accent /> + a.is_active).length} icon={Bell} /> sum + a.matches_count, 0)} icon={Target} /> sum + a.notifications_sent, 0)} icon={Zap} /> diff --git a/frontend/src/app/command/auctions/page.tsx b/frontend/src/app/command/auctions/page.tsx index d154d66..3383c7c 100644 --- a/frontend/src/app/command/auctions/page.tsx +++ b/frontend/src/app/command/auctions/page.tsx @@ -358,7 +358,7 @@ export default function AuctionsPage() { {/* Stats */}
- +
diff --git a/frontend/src/app/command/marketplace/page.tsx b/frontend/src/app/command/marketplace/page.tsx index eacc969..295a853 100644 --- a/frontend/src/app/command/marketplace/page.tsx +++ b/frontend/src/app/command/marketplace/page.tsx @@ -136,7 +136,7 @@ export default function CommandMarketplacePage() { {/* Stats */}
- + 0 ? `$${Math.round(avgPrice).toLocaleString()}` : '—'} diff --git a/frontend/src/app/command/portfolio/page.tsx b/frontend/src/app/command/portfolio/page.tsx index 938519a..2d87b5a 100644 --- a/frontend/src/app/command/portfolio/page.tsx +++ b/frontend/src/app/command/portfolio/page.tsx @@ -305,7 +305,6 @@ export default function PortfolioPage() { return days <= 30 && days > 0 }).length} icon={Calendar} - accent /> setOpenMenuId(null)} /> - {/* Menu */} -
+ {/* Menu - opens upward */} +