fix(sqllab): button width isn't wide enough for 'Run Selection' (#10461)
This commit is contained in:
parent
796f8e7d26
commit
edaf785815
|
|
@ -33,7 +33,7 @@ interface Props {
|
|||
sql: string;
|
||||
}
|
||||
const commonBtnStyle = {
|
||||
width: '80px',
|
||||
width: '140px',
|
||||
};
|
||||
|
||||
const RunQueryActionButton = ({
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue