Skip to content

Commit

Permalink
fix: fix qualifier alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif committed Sep 27, 2024
1 parent 30dbb30 commit 4ff5f32
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/data-entry/QueryItem/Qualifier.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,21 @@ const Qualifier = (props: IQueryItemQualifierProps) => {
options: props.options,
disabled: props.disabled,
value: props.value,
dropdownAlign: {
points: ['tl', 'bl'],
offset: [0, 0],
},
}

let className = 'query-item'
if (isOpen) className += ' query-item--open'

return (
<>
<Select className={className} {...selectProps}></Select>
<Select className={className} {...selectProps} />
{props.errorMessage && <Typography.Text type="danger">{props.errorMessage}</Typography.Text>}
</>
)
}

export default Qualifier
export default Qualifier

0 comments on commit 4ff5f32

Please sign in to comment.