diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx index d6cb62939deb1..615db4fdf92c1 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx @@ -20,7 +20,6 @@ import React, { FormEvent } from 'react'; import { SupersetTheme, JsonObject, t } from '@superset-ui/core'; import { InputProps } from 'antd/lib/input'; import { Switch } from 'src/common/components'; -import { Tooltip } from 'src/components/Tooltip'; import InfoTooltip from 'src/components/InfoTooltip'; import ValidatedInput from 'src/components/Form/LabeledErrorBoundInput'; import { @@ -180,23 +179,21 @@ const forceSSLField = ({ sslForced, }: FieldPropTypes) => (
infoTooltip(theme)}> - - { - changeMethods.onParametersChange({ - target: { - type: 'toggle', - name: 'encryption', - checked: true, - value: changed, - }, - }); - }} - /> - SSL - + { + changeMethods.onParametersChange({ + target: { + type: 'toggle', + name: 'encryption', + checked: true, + value: changed, + }, + }); + }} + /> + SSL css` svg { vertical-align: bottom; - margin-bottom: ${theme.gridUnit * 0.5}px; + margin-bottom: ${theme.gridUnit * 0.25}px; } `;