Skip to content

Commit

Permalink
easy fix (#20999)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi authored Aug 8, 2022
1 parent 802b69f commit 846529a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion superset-frontend/src/SqlLab/components/ResultSet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ const ResultSetButtons = styled.div`
padding-right: ${({ theme }) => 2 * theme.gridUnit}px;
`;

const LimitMessage = styled.span`
color: ${({ theme }) => theme.colors.secondary.light1};
margin-left: ${({ theme }) => theme.gridUnit * 2}px;
`;

export default class ResultSet extends React.PureComponent<
ResultSetProps,
ResultSetState
Expand Down Expand Up @@ -377,7 +382,7 @@ export default class ResultSet extends React.PureComponent<
{!limitReached && !shouldUseDefaultDropdownAlert && (
<span title={tooltipText}>
{rowsReturnedMessage}
<span>{limitMessage}</span>
<LimitMessage>{limitMessage}</LimitMessage>
</span>
)}
{!limitReached && shouldUseDefaultDropdownAlert && (
Expand Down

0 comments on commit 846529a

Please sign in to comment.