mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(ui): keep the time range divider outside the menu anchor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
773bfef066
commit
f3387221ea
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export function TimeRangeControls({
|
|||
}: TimeRangeControlsProps) {
|
||||
const live = isLive(range);
|
||||
return (
|
||||
<div className="flex items-stretch divide-x divide-border border-l border-border">
|
||||
<div className="flex items-stretch border-l border-border">
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger
|
||||
aria-label="Time range"
|
||||
|
|
@ -75,6 +75,7 @@ export function TimeRangeControls({
|
|||
onClick={() => onLiveChange(!live)}
|
||||
className={cn(
|
||||
SEGMENT,
|
||||
"border-l border-border",
|
||||
live ? "bg-info/10 text-info hover:bg-info/15" : "text-muted-foreground hover:text-foreground",
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue