Skip to content

Commit

Permalink
fix(sqllab): button width isn't wide enough for 'Run Selection' (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and auxten committed Nov 20, 2020
1 parent f666dc6 commit 92bad97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ interface Props {
sql: string;
}
const commonBtnStyle = {
width: '80px',
width: '140px',
};

const RunQueryActionButton = ({
Expand All @@ -45,7 +45,7 @@ const RunQueryActionButton = ({
stopQuery = NO_OP,
sql = '',
}: Props) => {
const runBtnText = selectedText ? t('Run Selected Query') : t('Run');
const runBtnText = selectedText ? t('Run Selection') : t('Run');
const btnStyle = selectedText ? 'warning' : 'primary';
const shouldShowStopBtn =
!!queryState && ['running', 'pending'].indexOf(queryState) > -1;
Expand Down

0 comments on commit 92bad97

Please sign in to comment.