mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
fix(webhook): selected type ui style (#25106)
This commit is contained in:
@ -171,14 +171,15 @@ const GenericTable: FC<GenericTableProps> = ({
|
||||
onSelect={item => handleChange(item.value)}
|
||||
disabled={readonly}
|
||||
placeholder={column.placeholder}
|
||||
hideChecked={false}
|
||||
notClearable={true}
|
||||
// wrapper provides compact height, trigger is transparent like text
|
||||
wrapperClassName="h-6 w-full min-w-0"
|
||||
className={cn(
|
||||
'h-6 rounded-none bg-transparent px-0 text-text-secondary',
|
||||
'h-6 rounded-none bg-transparent pl-0 pr-6 text-text-secondary',
|
||||
'hover:bg-transparent focus-visible:bg-transparent group-hover/simple-select:bg-transparent',
|
||||
)}
|
||||
optionWrapClassName="w-26 min-w-26 z-[60] -ml-3"
|
||||
notClearable
|
||||
/>
|
||||
)
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ const ParameterTable: FC<ParameterTableProps> = ({
|
||||
key: 'type',
|
||||
title: 'Type',
|
||||
type: (isRequestBody ? 'select' : 'input') as ColumnConfig['type'],
|
||||
width: 'w-[78px]',
|
||||
width: 'w-[120px]',
|
||||
placeholder: 'Type',
|
||||
options: isRequestBody ? typeOptions : undefined,
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user