diff --git a/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx b/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx index e10e0c78e40..e6cdb13a721 100644 --- a/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx +++ b/superset-frontend/src/SqlLab/components/TemplateParamsEditor/index.tsx @@ -35,6 +35,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'; @@ -64,13 +72,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.')} -

+