Skip to content

Commit 3a6a745

Browse files
committed
ensure margin properly applied
1 parent 9209fc8 commit 3a6a745

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

web/src/app/admin/configuration/llm/LLMProviderUpdateForm.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ export function LLMProviderUpdateForm({
278278
{!(hideAdvanced && llmProviderDescriptor.name != "azure") && (
279279
<>
280280
<Separator />
281-
282281
{llmProviderDescriptor.llm_names.length > 0 ? (
283282
<SelectorFormField
284283
name="default_model_name"
@@ -298,7 +297,6 @@ export function LLMProviderUpdateForm({
298297
placeholder="E.g. gpt-4"
299298
/>
300299
)}
301-
302300
{llmProviderDescriptor.deployment_name_required && (
303301
<TextFormField
304302
small={hideAdvanced}
@@ -307,7 +305,6 @@ export function LLMProviderUpdateForm({
307305
placeholder="Deployment Name"
308306
/>
309307
)}
310-
311308
{!llmProviderDescriptor.single_model_supported &&
312309
(llmProviderDescriptor.llm_names.length > 0 ? (
313310
<SelectorFormField
@@ -344,7 +341,6 @@ export function LLMProviderUpdateForm({
344341
/>
345342
</>
346343
)}
347-
348344
{showAdvancedOptions && (
349345
<>
350346
{llmProviderDescriptor.llm_names.length > 0 && (

web/src/components/AdvancedOptionsToggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function AdvancedOptionsToggle({
2020
size="sm"
2121
icon={showAdvancedOptions ? FiChevronDown : FiChevronRight}
2222
onClick={() => setShowAdvancedOptions(!showAdvancedOptions)}
23-
className="text-xs !p-0 text-text-950 hover:text-text-500"
23+
className="text-xs mr-auto !p-0 text-text-950 hover:text-text-500"
2424
>
2525
{title || "Advanced Options"}
2626
</Button>

0 commit comments

Comments
 (0)