From 9783f0ff6c4edf302eb2845c9a6c0c4fdbf5958b Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Wed, 3 Dec 2025 12:14:48 -0800 Subject: [PATCH] Remove second scrollbar when sidebar is expanded + tooltip z index --- ui/litellm-dashboard/src/app/page.tsx | 2 +- ui/litellm-dashboard/src/components/model_dashboard/table.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/app/page.tsx b/ui/litellm-dashboard/src/app/page.tsx index 422d140e07..a71d7dd87d 100644 --- a/ui/litellm-dashboard/src/app/page.tsx +++ b/ui/litellm-dashboard/src/app/page.tsx @@ -328,7 +328,7 @@ export default function CreateKeyPage() { sidebarCollapsed={sidebarCollapsed} onToggleSidebar={toggleSidebar} /> -
+
diff --git a/ui/litellm-dashboard/src/components/model_dashboard/table.tsx b/ui/litellm-dashboard/src/components/model_dashboard/table.tsx index b74060db6c..344ff2e94f 100644 --- a/ui/litellm-dashboard/src/components/model_dashboard/table.tsx +++ b/ui/litellm-dashboard/src/components/model_dashboard/table.tsx @@ -100,7 +100,7 @@ export function ModelDataTable({ key={header.id} className={`py-1 h-8 relative ${ header.id === "actions" - ? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] z-20 w-[120px] ml-8" + ? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] w-[120px] ml-8" : "" } ${header.column.columnDef.meta?.className || ""}`} style={{ @@ -160,7 +160,7 @@ export function ModelDataTable({ key={cell.id} className={`py-0.5 ${ cell.column.id === "actions" - ? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] z-20 w-[120px] ml-8" + ? "sticky right-0 bg-white shadow-[-4px_0_8px_-6px_rgba(0,0,0,0.1)] w-[120px] ml-8" : "" } ${cell.column.columnDef.meta?.className || ""}`} style={{