Skip to content

Commit

Permalink
#9728 fix misalignement issue (#9731)
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 authored Nov 22, 2023
1 parent 0956266 commit ee43bde
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions web/client/components/misc/combobox/PagedCombobox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ class PagedCombobox extends React.Component {
let label = l ? (<label>{l}</label>) : (<span/>); // TODO change "the else case" value with null ?
return (
<div className={`autocompleteField ${this.props.anyFilterRuleMode ? 'd-flex' : ''}`}>
{label}
{clearable ? (
<div className={`rw-combo-clearable ${disabled && 'disabled' || ''}`}>
{this.renderField()}
Expand All @@ -226,12 +227,15 @@ class PagedCombobox extends React.Component {
</div>) :
this.renderField()
}
&nbsp;
<div>
{label}
{ this.props.anyFilterRuleMode ?
this.renderTooltipCheckbox() : null}
</div>
{ this.props.anyFilterRuleMode ?
<>
&nbsp;
<div>
{
this.renderTooltipCheckbox()
}
</div>
</> : null}
</div>);
}
}
Expand Down

0 comments on commit ee43bde

Please sign in to comment.