Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: Increase the spacing between the labels and the dropdown menus for the PDF and table parsers. (#21882)

balibabua930b78beff0
diff --git a/web/src/components/layout-recognize-form-field.tsx b/web/src/components/layout-recognize-form-field.tsx
index 8db5837cbb..34f3312b6e 100644
--- a/web/src/components/layout-recognize-form-field.tsx
+++ b/web/src/components/layout-recognize-form-field.tsx
@@ -137,9 +137,12 @@ export function LayoutRecognizeFormField({
>
<FormLabel
tooltip={t('layoutRecognizeTip')}
- className={cn('text-sm text-text-secondary whitespace-wrap', {
- ['w-1/4']: horizontal,
- })}
+ className={cn(
+ 'text-sm text-text-secondary whitespace-wrap pb-1',
+ {
+ ['w-1/4']: horizontal,
+ },
+ )}
>
{label || t('layoutRecognize')}
</FormLabel>
diff --git a/web/src/pages/agent/form/parser-form/spreadsheet-form-fields.tsx b/web/src/pages/agent/form/parser-form/spreadsheet-form-fields.tsx
index 992f7755cf..47da59bfd0 100644
--- a/web/src/pages/agent/form/parser-form/spreadsheet-form-fields.tsx
+++ b/web/src/pages/agent/form/parser-form/spreadsheet-form-fields.tsx
@@ -22,6 +22,7 @@ export function SpreadsheetFormFields({ prefix }: CommonProps) {
name={buildFieldNameWithPrefix('parse_method', prefix)}
label={t('flow.parserMethod')}
className="space-y-0"
+ labelClassName="pb-2"
>
<SelectWithSearch options={parserMethodOptions} />
</RAGFlowFormItem>