mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 14:34:54 +08:00
chore: fix hitl not full
This commit is contained in:
parent
922aeb7c21
commit
bb8d54c48b
@ -21,7 +21,7 @@ const HITLInputComponent: FC<QueryBlockComponentProps> = ({
|
||||
return (
|
||||
<div
|
||||
className={`
|
||||
flex h-6 items-center rounded-[5px] border-[1.5px] border-components-input-border-active bg-background-default-hover pl-1 pr-0.5 hover:bg-[#FFEAD5]
|
||||
flex h-6 w-full items-center rounded-[5px] border-[1.5px] border-components-input-border-active bg-background-default-hover pl-1 pr-0.5 hover:bg-[#FFEAD5]
|
||||
${isSelected && '!border-[#FD853A]'}
|
||||
`}
|
||||
ref={ref}
|
||||
|
||||
@ -34,7 +34,7 @@ export class HITLInputNode extends DecoratorNode<React.JSX.Element> {
|
||||
|
||||
createDOM(): HTMLElement {
|
||||
const div = document.createElement('div')
|
||||
div.classList.add('flex', 'w-full', 'items-center', 'align-middle')
|
||||
div.classList.add('flex', 'items-center', 'align-middle')
|
||||
return div
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user