mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix(ui): put the credential wizard's back button on the left, above the heading
This commit is contained in:
parent
40622e27d7
commit
8d28491a1a
1 changed files with 3 additions and 3 deletions
|
|
@ -97,12 +97,12 @@ export default function CredentialsPanel() {
|
|||
if (isAddWizardOpen) {
|
||||
return (
|
||||
<div className="mx-auto flex w-full max-w-3xl flex-col gap-4 overflow-y-auto p-2">
|
||||
<div className="flex items-center justify-between gap-4">
|
||||
<h2 className="text-2xl font-semibold text-foreground">Add Credential</h2>
|
||||
<Button variant="ghost" onClick={() => setIsAddWizardOpen(false)}>
|
||||
<div>
|
||||
<Button variant="ghost" onClick={() => setIsAddWizardOpen(false)} className="mb-4">
|
||||
<ArrowLeft className="size-4" />
|
||||
Back to credentials
|
||||
</Button>
|
||||
<h2 className="text-2xl font-semibold text-foreground">Add Credential</h2>
|
||||
</div>
|
||||
<AddCredentialWizard onClose={() => setIsAddWizardOpen(false)} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue