diff --git a/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx b/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx index 03717f41048..67e4f4d4d4d 100644 --- a/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx +++ b/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx @@ -36,6 +36,14 @@ const StyledConfigEditor = styled(ConfigEditor)` } `; +const StyledParagraph = styled.p` + margin-top: 0; +`; + +const Code = styled.code` + color: ${({ theme }) => theme.colorPrimary}; +`; + export type TemplateParamsEditorProps = { queryEditorId: string; language: 'yaml' | 'json'; @@ -65,13 +73,11 @@ const TemplateParamsEditor = ({ const modalBody = (
-

- {t('Assign a set of parameters as')} - JSON - {t('below (example:')} - {'{"my_table": "foo"}'} - {t('), and they become available in your SQL (example:')} - SELECT * FROM {'{{ my_table }}'} ) {t('by using')}  + + {t('Assign a set of parameters as')} JSON{' '} + {t('below (example:')} {'{"my_table": "foo"}'} + {t('), and they become available in your SQL (example:')}{' '} + SELECT * FROM {'{{ my_table }}'} ) {t('by using')}  {' '} {t('syntax.')} -

+