mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: style misalignment and inconsistency (#5149)
This commit is contained in:
parent
8210637bc5
commit
015c26d303
|
@ -152,11 +152,11 @@ const SettingBuiltInTool: FC<Props> = ({
|
|||
isShow
|
||||
onHide={onHide}
|
||||
title={(
|
||||
<div className='flex'>
|
||||
<div className='flex items-center'>
|
||||
{typeof collection.icon === 'string'
|
||||
? (
|
||||
<div
|
||||
className='w-6 h-6 bg-cover bg-center rounded-md'
|
||||
className='w-6 h-6 bg-cover bg-center rounded-md flex-shrink-0'
|
||||
style={{
|
||||
backgroundImage: `url(${collection.icon})`,
|
||||
}}
|
||||
|
|
|
@ -236,7 +236,7 @@ const Form: FC<FormProps> = ({
|
|||
<div key={variable} className={cn(itemClassName, 'py-3')}>
|
||||
<div className='flex items-center justify-between py-2 text-sm text-gray-900'>
|
||||
<div className='flex items-center space-x-2'>
|
||||
<span>{label[language] || label.en_US}</span>
|
||||
<span className={cn(fieldLabelClassName, 'py-2 text-sm text-gray-900')}>{label[language] || label.en_US}</span>
|
||||
{tooltipContent}
|
||||
</div>
|
||||
<Radio.Group
|
||||
|
|
Loading…
Reference in New Issue
Block a user