You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/02/08 22:27:58 UTC
[superset] branch master updated: fix: added text and changed
margins (#12923)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 69b0ed6 fix: added text and changed margins (#12923)
69b0ed6 is described below
commit 69b0ed663dc6275a810bda8f1dacb4563a72fcc2
Author: AAfghahi <48...@users.noreply.github.com>
AuthorDate: Mon Feb 8 17:26:55 2021 -0500
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 c0863dc..5d3cf1c 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={<TextControl controlId="offset" />}
+ 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 && (
<Field