From 69b0ed663dc6275a810bda8f1dacb4563a72fcc2 Mon Sep 17 00:00:00 2001 From: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Date: Mon, 8 Feb 2021 17:26:55 -0500 Subject: [PATCH] fix: added text and changed margins (#12923) --- superset-frontend/src/datasource/DatasourceEditor.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/superset-frontend/src/datasource/DatasourceEditor.jsx b/superset-frontend/src/datasource/DatasourceEditor.jsx index c0863dca604..5d3cf1cd3b6 100644 --- a/superset-frontend/src/datasource/DatasourceEditor.jsx +++ b/superset-frontend/src/datasource/DatasourceEditor.jsx @@ -58,6 +58,14 @@ const DatasourceContainer = styled.div` .change-warning .bold { font-weight: ${({ theme }) => theme.typography.weights.bold}; } + + .form-group.has-feedback > .help-block { + margin-top: 8px; + } + + .form-group.form-group-md { + margin-bottom: 8px; + } `; const FlexRowContainer = styled.div` @@ -610,6 +618,9 @@ class DatasourceEditor extends React.PureComponent { fieldKey="offset" label={t('Hours offset')} control={} + description={t( + 'The number of hours, negative or positive, to shift the time column. This can be used to move UTC time to local time.', + )} /> {this.state.isSqla && (