From 92bad9776af7af4c490a20c57b29aff8ad4d9bb5 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 29 Jul 2020 16:21:21 -0700 Subject: [PATCH] fix(sqllab): button width isn't wide enough for 'Run Selection' (#10461) --- .../src/SqlLab/components/RunQueryActionButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/SqlLab/components/RunQueryActionButton.tsx b/superset-frontend/src/SqlLab/components/RunQueryActionButton.tsx index 5d6ac94c9c153..7b4fd1ec35a68 100644 --- a/superset-frontend/src/SqlLab/components/RunQueryActionButton.tsx +++ b/superset-frontend/src/SqlLab/components/RunQueryActionButton.tsx @@ -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;