The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(ui): restore the Blog hover highlight in the top bar
ryan-crabbe-berrib72b9126b59a
diff --git a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.test.tsx b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.test.tsxindex 0581a381a9a..4da50a266f0 100644--- a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.test.tsx+++ b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.test.tsx@@ -66,6 +66,14 @@ describe("BlogDropdown", () => {expect(screen.getByRole("button", { name: /blog/i })).toBeInTheDocument();});+ it("should keep the shared hover highlight rather than pinning the background transparent", () => {+ renderWithProviders(<BlogDropdown />);++ const trigger = screen.getByRole("button", { name: /blog/i });+ expect(trigger).toHaveClass("hover:bg-accent");+ expect(trigger.className).not.toMatch(/\bbg-\S*!/);+ });+it("should not render menu content before the trigger is hovered", () => {mockUseBlogPostsResult = { ...mockUseBlogPostsResult, data: { posts: MOCK_POSTS.slice(0, 1) } };renderWithProviders(<BlogDropdown />);diff --git a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsxindex c4ff1ec72dd..eaaf3301a8b 100644--- a/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx+++ b/ui/litellm-dashboard/src/components/Navbar/BlogDropdown/BlogDropdown.tsx@@ -85,7 +85,7 @@ export const BlogDropdown: React.FC = () => {<DropdownMenuTriggeropenOnHovercloseDelay={100}- render={<Button variant="ghost" className={`${NAV_PRODUCT_LINK_CLASS} border-0! bg-transparent!`} />}+ render={<Button variant="ghost" className={`${NAV_PRODUCT_LINK_CLASS} border-0!`} />}>Blog<ChevronDown className="size-2.5 text-muted-foreground" aria-hidden />