mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 20:35:55 +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
|
isShow
|
||||||
onHide={onHide}
|
onHide={onHide}
|
||||||
title={(
|
title={(
|
||||||
<div className='flex'>
|
<div className='flex items-center'>
|
||||||
{typeof collection.icon === 'string'
|
{typeof collection.icon === 'string'
|
||||||
? (
|
? (
|
||||||
<div
|
<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={{
|
style={{
|
||||||
backgroundImage: `url(${collection.icon})`,
|
backgroundImage: `url(${collection.icon})`,
|
||||||
}}
|
}}
|
||||||
|
@ -236,7 +236,7 @@ const Form: FC<FormProps> = ({
|
|||||||
<div key={variable} className={cn(itemClassName, 'py-3')}>
|
<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 justify-between py-2 text-sm text-gray-900'>
|
||||||
<div className='flex items-center space-x-2'>
|
<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}
|
{tooltipContent}
|
||||||
</div>
|
</div>
|
||||||
<Radio.Group
|
<Radio.Group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user