diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index 2da03f826834a..f0277354fb782 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -625,12 +625,6 @@ const DatabaseModal: FunctionComponent = ({ /> {renderPreferredSelector()} {renderAvailableSelector()} - ) : ( <> diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts index 5967d2a491225..3e752bd5b2c5c 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts @@ -446,8 +446,4 @@ export const SelectDatabaseStyles = styled.div` font-size: ${({ theme }) => theme.typography.sizes.s - 1}px; margin-bottom: ${({ theme }) => theme.gridUnit * 2}px; } - - .ant-alert { - margin: ${({ theme }) => theme.gridUnit * 4}px; - } `;