Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(ui): move timezone search icon to the left side in date picker

Ryan Crabbe2773adba6d72
diff --git a/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx b/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
index 01c50951bdb..636782df73d 100644
--- a/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
+++ b/ui/litellm-dashboard/src/components/shared/advanced_date_picker.tsx
@@ -1,4 +1,4 @@
-import { CalendarOutlined, ClockCircleOutlined } from "@ant-design/icons";
+import { CalendarOutlined, ClockCircleOutlined, SearchOutlined } from "@ant-design/icons";
import { Select } from "antd";
import { Button, DateRangePickerValue, Text } from "@tremor/react";
import moment from "moment";
@@ -415,6 +415,8 @@ const AdvancedDatePicker: React.FC<AdvancedDatePickerProps> = ({
(option?.label ?? "").toLowerCase().includes(input.toLowerCase())
}
getPopupContainer={() => settingsPanelRef.current!}
+ suffixIcon={null}
+ prefix={<SearchOutlined className="text-gray-400" />}
className="w-full"
size="small"
/>