mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Minor: improve tips display (#5631)
### What problem does this PR solve? 1. Add the missing translations.  2. Shorten overly long tips.  ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [x] Other (please describe):
This commit is contained in:
@ -54,7 +54,7 @@ const GraphRagItems = ({ marginBottom = false }: GraphRagItemsProps) => {
|
||||
(title: React.ReactNode | string) => {
|
||||
return {
|
||||
title: typeof title === 'string' ? t(title) : title,
|
||||
overlayInnerStyle: { width: '50vw' },
|
||||
overlayInnerStyle: { width: '32vw' },
|
||||
};
|
||||
},
|
||||
[t],
|
||||
@ -67,7 +67,7 @@ const GraphRagItems = ({ marginBottom = false }: GraphRagItemsProps) => {
|
||||
label={t('useGraphRag')}
|
||||
initialValue={false}
|
||||
valuePropName="checked"
|
||||
tooltip={renderWideTooltip('useGraphRagTip')}
|
||||
tooltip={t('useGraphRagTip')}
|
||||
>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user