diff --git a/superset-frontend/src/components/Datasource/CollectionTable.tsx b/superset-frontend/src/components/Datasource/CollectionTable.tsx
index 7ce0bfb95fbd..194d3765792c 100644
--- a/superset-frontend/src/components/Datasource/CollectionTable.tsx
+++ b/superset-frontend/src/components/Datasource/CollectionTable.tsx
@@ -130,6 +130,13 @@ const CrudButtonWrapper = styled.div`
${({ theme }) => `margin-bottom: ${theme.gridUnit * 2}px`}
`;
+const StyledButtonWrapper = styled.span`
+ ${({ theme }) => `
+ margin-top: ${theme.gridUnit * 3}px;
+ margin-left: ${theme.gridUnit * 3}px;
+ `}
+`;
+
export default class CRUDCollection extends React.PureComponent<
CRUDCollectionProps,
CRUDCollectionState
@@ -424,7 +431,7 @@ export default class CRUDCollection extends React.PureComponent<
<>
{this.props.allowAddItem && (
-
+
{' '}
{t('Add item')}
-
+
)}
`
+ margin-top: ${theme.gridUnit * 3}px;
+ margin-left: ${theme.gridUnit * 3}px;
+ `}
+`;
+
const checkboxGenerator = (d, onChange) => (
);
@@ -1361,7 +1368,7 @@ class DatasourceEditor extends React.PureComponent {
>
-
+
{' '}
{t('Sync columns from source')}
-
+