From 773bfef066efe035e2ffe1c4227d99722ade314b Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Sun, 4 Oct 2026 16:32:10 -0700 Subject: [PATCH] fix(ui): keep the time range menu flush after the move to shared The move carried a copy from before the menu alignment fixes landed on this branch; this restores the trigger width and the flush menu edge. Co-Authored-By: Claude Fable 5.1 --- .../shared/timeRange/TimeRangeControls.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ui/litellm-dashboard/src/components/shared/timeRange/TimeRangeControls.tsx b/ui/litellm-dashboard/src/components/shared/timeRange/TimeRangeControls.tsx index de55f929dd1..cf8aaa0e15d 100644 --- a/ui/litellm-dashboard/src/components/shared/timeRange/TimeRangeControls.tsx +++ b/ui/litellm-dashboard/src/components/shared/timeRange/TimeRangeControls.tsx @@ -36,20 +36,26 @@ interface TimeRangeControlsProps { } /** Joined control group: the time range (opens presets) and Live. */ -export function TimeRangeControls({ range, zoom, onHoursChange, showLive = true, onLiveChange }: TimeRangeControlsProps) { +export function TimeRangeControls({ + range, + zoom, + onHoursChange, + showLive = true, + onLiveChange, +}: TimeRangeControlsProps) { const live = isLive(range); return (
{rangeLabel(range, zoom)} - + onHoursChange(Number(value))}