mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 11:58:34 +02:00
nit
This commit is contained in:
parent
62b29b26d5
commit
6439c5a003
@ -32,7 +32,11 @@ function LLMProviderUpdateModal({
|
||||
existingLlmProvider?.name ||
|
||||
"Custom LLM Provider";
|
||||
return (
|
||||
<Modal title={`Setup ${providerName}`} onOutsideClick={() => onClose()}>
|
||||
<Modal
|
||||
width="max-w-4xl"
|
||||
title={`Setup ${providerName}`}
|
||||
onOutsideClick={() => onClose()}
|
||||
>
|
||||
<div className="max-h-[70vh] overflow-y-auto px-4">
|
||||
{llmProviderDescriptor ? (
|
||||
<LLMProviderUpdateForm
|
||||
|
@ -173,7 +173,7 @@ export function ProviderCreationModal({
|
||||
|
||||
return (
|
||||
<Modal
|
||||
width="max-w-3xl"
|
||||
width="max-w-4xl w-full"
|
||||
title={`Configure ${selectedProvider.provider_type}`}
|
||||
onOutsideClick={onCancel}
|
||||
icon={selectedProvider.icon}
|
||||
|
@ -56,7 +56,7 @@ export function Modal({
|
||||
}}
|
||||
className={`bg-background text-emphasis rounded shadow-2xl
|
||||
transform transition-all duration-300 ease-in-out
|
||||
${width ?? "w-11/12 max-w-3xl"}
|
||||
${width ?? "w-11/12 max-w-4xl"}
|
||||
${noPadding ? "" : "p-10"}
|
||||
${className || ""}`}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user