mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
fix(ui): fit session sort toggle inside sidebar column
This commit is contained in:
parent
df2d44bab1
commit
5d89be551b
1 changed files with 11 additions and 12 deletions
|
|
@ -387,18 +387,17 @@ export function LogDetailsDrawer({
|
|||
</div>
|
||||
)}
|
||||
{isSessionMode && (
|
||||
<div className="mt-1.5 flex items-center gap-1.5">
|
||||
<span className="text-[10px] uppercase tracking-wide text-slate-500">Sort by</span>
|
||||
<Segmented
|
||||
size="small"
|
||||
options={[
|
||||
{ label: "Duration", value: "duration" },
|
||||
{ label: "Start time", value: "start_time" },
|
||||
]}
|
||||
value={sessionSortMode}
|
||||
onChange={(value) => setSessionSortMode(value as SessionLogSortMode)}
|
||||
/>
|
||||
</div>
|
||||
<Segmented
|
||||
block
|
||||
size="small"
|
||||
className="mt-1.5 [&_.ant-segmented-item-label]:text-[11px]"
|
||||
options={[
|
||||
{ label: "Duration", value: "duration" },
|
||||
{ label: "Start time", value: "start_time" },
|
||||
]}
|
||||
value={sessionSortMode}
|
||||
onChange={(value) => setSessionSortMode(value as SessionLogSortMode)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue