Skip to content

Commit

Permalink
fix: added text and changed margins (#12923)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi committed Feb 8, 2021
1 parent eb5dc38 commit 69b0ed6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions superset-frontend/src/datasource/DatasourceEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 69b0ed6

Please sign in to comment.