Skip to content

Commit

Permalink
Limit break fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndsiWilliams committed Nov 9, 2021
1 parent 561d1ac commit 5ab450a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion superset-frontend/src/SqlLab/components/SqlEditor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ const StyledToolbar = styled.div`
}
}
}
.limitDropdown {
width: max-content;
}
`;

const propTypes = {
Expand Down Expand Up @@ -646,7 +650,7 @@ class SqlEditor extends React.PureComponent {
<Dropdown overlay={this.renderQueryLimit()} trigger="click">
<a onClick={e => e.preventDefault()}>
<span>LIMIT:</span>
<span>
<span className="limitDropdown">
{this.convertToNumWithSpaces(
this.props.queryEditor.queryLimit ||
this.props.defaultQueryLimit,
Expand Down

0 comments on commit 5ab450a

Please sign in to comment.