chore: fix hitl not full

This commit is contained in:
Joel 2025-08-06 16:59:46 +08:00
parent 922aeb7c21
commit bb8d54c48b
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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
}