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]

Enhance Admin Panel UI: Adjust button styles and layout for better accessibility and user experience

Cole McIntosh7d4a70bfe35a
diff --git a/ui/litellm-dashboard/src/components/admins.tsx b/ui/litellm-dashboard/src/components/admins.tsx
index 2ea3e74bcbf..bf36ffe35cf 100644
--- a/ui/litellm-dashboard/src/components/admins.tsx
+++ b/ui/litellm-dashboard/src/components/admins.tsx
@@ -534,12 +534,22 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
<TabPanel>
<Card>
<Title level={4}> ✨ Security Settings</Title>
- <div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '1rem' }}>
+ <div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', marginTop: '1rem', marginLeft: '0.5rem' }}>
<div>
- <Button onClick={() => premiumUser === true ? setIsAddSSOModalVisible(true) : message.error("Only premium users can add SSO")}>Add SSO</Button>
+ <Button
+ style={{ width: '150px' }}
+ onClick={() => premiumUser === true ? setIsAddSSOModalVisible(true) : message.error("Only premium users can add SSO")}
+ >
+ Add SSO
+ </Button>
</div>
<div>
- <Button onClick={handleShowAllowedIPs}>Allowed IPs</Button>
+ <Button
+ style={{ width: '150px' }}
+ onClick={handleShowAllowedIPs}
+ >
+ Allowed IPs
+ </Button>
</div>
</div>
</Card>