fix: margin right on warning icon to 8px (#15715)

* changed margin right on warning icon to 8px

* fixed to grid units from pixels
This commit is contained in:
stellalc7 2021-07-19 16:53:24 -04:00 committed by GitHub
parent 3a249a0090
commit 9a14aed152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,10 @@ function WarningIconWithTooltip({
id="warning-tooltip"
title={<SafeMarkdown source={warningMarkdown} />}
>
<Icons.AlertSolid iconColor={theme.colors.alert.base} />
<Icons.AlertSolid
iconColor={theme.colors.alert.base}
css={{ marginRight: theme.gridUnit * 2 }}
/>
</Tooltip>
);
}