1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00

Fix position of a warning triangle icon on Snap Install Warning (#20712)

This commit is contained in:
David Drazic 2023-09-04 16:08:37 +02:00 committed by GitHub
parent 20f654a348
commit 51cdb73a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ import {
TextAlign,
JustifyContent,
FontWeight,
Display,
} from '../../../../helpers/constants/design-system';
import Popover from '../../../ui/popover';
import Button from '../../../ui/button';
@ -86,7 +87,11 @@ export default function SnapInstallWarning({
footerProps={{ padding: [4, 6] }}
onClose={onCancel}
>
<Box justifyContent={JustifyContent.center} marginBottom={6}>
<Box
display={Display.Flex}
justifyContent={JustifyContent.center}
marginBottom={6}
>
<AvatarIcon
iconName={IconName.Danger}
backgroundColor={BackgroundColor.warningMuted}