From 03bcea8b65e9b385531eccfaed8a79bfaaf5081a Mon Sep 17 00:00:00 2001 From: andrewbastian Date: Mon, 28 Jun 2021 18:41:44 -0700 Subject: [PATCH] Changed units to `theme.gridUnit` --- .../src/components/Form/LabeledErrorBoundInput.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/components/Form/LabeledErrorBoundInput.tsx b/superset-frontend/src/components/Form/LabeledErrorBoundInput.tsx index 6da33adfec59b..f654c4f5dc925 100644 --- a/superset-frontend/src/components/Form/LabeledErrorBoundInput.tsx +++ b/superset-frontend/src/components/Form/LabeledErrorBoundInput.tsx @@ -59,8 +59,8 @@ const alertIconStyles = (theme: SupersetTheme, hasError: boolean) => css` width: ${theme.gridUnit * 4}px; height: ${theme.gridUnit * 4}px; position: absolute; - right: 5px; - top: 11px; + right: ${theme.gridUnit * 1.25}px; + top: ${theme.gridUnit * 2.75}px; } }`} `;