From e539d080745c6cfc437b35ad1aaf944ba24f19d7 Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Thu, 8 Jul 2021 12:26:38 -0700 Subject: [PATCH] fix: DBC UI tooltip aligment (#15595) --- .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 2 +- .../src/views/CRUD/data/database/DatabaseModal/styles.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 6c397d41d6..24de281bfe 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -904,7 +904,7 @@ const DatabaseModal: FunctionComponent = ({ tooltip={t( '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" /> )} 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 061afb3124..de6562845c 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/styles.ts @@ -124,7 +124,6 @@ export const antDModalNoPaddingStyles = css` export const infoTooltip = (theme: SupersetTheme) => css` margin-bottom: ${theme.gridUnit * 5}px; svg { - vertical-align: bottom; margin-bottom: ${theme.gridUnit * 0.25}px; } `;