fix: DBC UI tooltip aligment (#15595)

(cherry picked from commit e539d08074)
This commit is contained in:
Hugh A. Miles II
2021-07-08 12:26:38 -07:00
committed by henryyeh
parent cec5b4cdfd
commit 26cdcd0611
2 changed files with 1 additions and 2 deletions

View File

@@ -904,7 +904,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
tooltip={t( tooltip={t(
'Click this link to switch to an alternate form that exposes only the required fields needed to connect this database.', 'Click this link to switch to an alternate form that exposes only the required fields needed to connect this database.',
)} )}
viewBox="0 -3 24 24" viewBox="0 0 24 24"
/> />
</div> </div>
)} )}

View File

@@ -124,7 +124,6 @@ export const antDModalNoPaddingStyles = css`
export const infoTooltip = (theme: SupersetTheme) => css` export const infoTooltip = (theme: SupersetTheme) => css`
margin-bottom: ${theme.gridUnit * 5}px; margin-bottom: ${theme.gridUnit * 5}px;
svg { svg {
vertical-align: bottom;
margin-bottom: ${theme.gridUnit * 0.25}px; margin-bottom: ${theme.gridUnit * 0.25}px;
} }
`; `;