Skip to content

Commit

Permalink
fix margin, remove previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen committed Feb 7, 2025
1 parent 1f6afae commit cea6535
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ export default class ConceptSearchBox extends React.PureComponent<Props, State>
}

public renderQueryInfo() {
return <div className="text-muted mt-4 ml-4">( To query, drag and drop concepts into boxes to the right )</div>
return <div className="text-muted mt-4 ml-4 mb-1">( To query, drag and drop concepts into boxes to the right )</div>
}


private toggleRootsDropdown = () => {
this.setState({ showRootsDropdown: !this.state.showRootsDropdown });
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ class PanelGroupColumn extends React.Component<Props> {
}
}

public renderQueryInfo(queryState : string) {
if (queryState !== CohortStateType.NOT_LOADED) return null;
return <div className="text-muted text-center mb-1">( To query, drag and drop concepts into boxes below )</div>
}

public render() {
const { dispatch, panels, panelFilters, queryState } = this.props;
return (
Expand All @@ -112,7 +107,6 @@ class PanelGroupColumn extends React.Component<Props> {
<span>{this.setRunQueryButtonContent()}</span>
</div>
</div>
{this.renderQueryInfo(queryState)}
<PanelFilterGroup dispatch={dispatch} filters={panelFilters} />
<PanelGroup dispatch={dispatch} panels={panels} queryState={queryState} />
</div>
Expand Down

0 comments on commit cea6535

Please sign in to comment.