mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 06:39:06 +08:00
fix: tooltip size sets improperly (#7836)
This commit is contained in:
parent
ceb2b150ff
commit
62bfc4dba6
@ -191,7 +191,7 @@ const RetrievalParamConfig: FC<Props> = ({
|
||||
<div className='truncate'>{option.label}</div>
|
||||
<Tooltip
|
||||
popupContent={<div className='w-[200px]'>{option.tips}</div>}
|
||||
triggerClassName='ml-0.5 w-3.5 h-4.5'
|
||||
triggerClassName='ml-0.5 w-3.5 h-3.5'
|
||||
/>
|
||||
</div>
|
||||
))
|
||||
|
@ -148,7 +148,7 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
|
||||
{t('common.modelProvider.systemReasoningModel.tip')}
|
||||
</div>
|
||||
}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4 shrink-0'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@ -168,8 +168,7 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
|
||||
{t('common.modelProvider.embeddingModel.tip')}
|
||||
</div>
|
||||
}
|
||||
needsDelay={false}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4 shrink-0'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@ -189,8 +188,7 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
|
||||
{t('common.modelProvider.rerankModel.tip')}
|
||||
</div>
|
||||
}
|
||||
needsDelay={false}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4 shrink-0'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@ -210,8 +208,7 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
|
||||
{t('common.modelProvider.speechToTextModel.tip')}
|
||||
</div>
|
||||
}
|
||||
needsDelay={false}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4 shrink-0'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@ -231,7 +228,7 @@ const SystemModel: FC<SystemModelSelectorProps> = ({
|
||||
{t('common.modelProvider.ttsModel.tip')}
|
||||
</div>
|
||||
}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4 shrink-0'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
|
@ -114,7 +114,7 @@ const ConfigCredential: FC<Props> = ({
|
||||
{t('tools.createTool.authMethod.keyTooltip')}
|
||||
</div>
|
||||
}
|
||||
triggerClassName='ml-0.5'
|
||||
triggerClassName='ml-0.5 w-4 h-4'
|
||||
/>
|
||||
</div>
|
||||
<input
|
||||
|
Loading…
x
Reference in New Issue
Block a user