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:
parent
20f654a348
commit
51cdb73a5f
@ -12,6 +12,7 @@ import {
|
|||||||
TextAlign,
|
TextAlign,
|
||||||
JustifyContent,
|
JustifyContent,
|
||||||
FontWeight,
|
FontWeight,
|
||||||
|
Display,
|
||||||
} from '../../../../helpers/constants/design-system';
|
} from '../../../../helpers/constants/design-system';
|
||||||
import Popover from '../../../ui/popover';
|
import Popover from '../../../ui/popover';
|
||||||
import Button from '../../../ui/button';
|
import Button from '../../../ui/button';
|
||||||
@ -86,7 +87,11 @@ export default function SnapInstallWarning({
|
|||||||
footerProps={{ padding: [4, 6] }}
|
footerProps={{ padding: [4, 6] }}
|
||||||
onClose={onCancel}
|
onClose={onCancel}
|
||||||
>
|
>
|
||||||
<Box justifyContent={JustifyContent.center} marginBottom={6}>
|
<Box
|
||||||
|
display={Display.Flex}
|
||||||
|
justifyContent={JustifyContent.center}
|
||||||
|
marginBottom={6}
|
||||||
|
>
|
||||||
<AvatarIcon
|
<AvatarIcon
|
||||||
iconName={IconName.Danger}
|
iconName={IconName.Danger}
|
||||||
backgroundColor={BackgroundColor.warningMuted}
|
backgroundColor={BackgroundColor.warningMuted}
|
||||||
|
Loading…
Reference in New Issue
Block a user