From 410176b606dabcf642e412ae341a087c72311c6c Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 5 Mar 2026 17:24:58 -0800 Subject: [PATCH] fix(ui): correct grid bottom-border condition for odd server count --- ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx b/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx index e5ca632b016..926d6697bca 100644 --- a/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx +++ b/ui/litellm-dashboard/src/components/chat/MCPAppsPanel.tsx @@ -236,7 +236,7 @@ const MCPAppsPanel: React.FC = ({ accessToken, selectedServers, onChange display: "flex", alignItems: "center", gap: 12, padding: "14px 16px", background: "#fff", borderRight: isLeftCol ? "1px solid #f3f4f6" : "none", - borderBottom: idx < filtered.length - 2 ? "1px solid #f3f4f6" : "none", + borderBottom: Math.floor(idx / 2) < Math.floor((filtered.length - 1) / 2) ? "1px solid #f3f4f6" : "none", cursor: "pointer", minWidth: 0, transition: "background 0.1s", }}