1
0
Fork 0

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
1 changed files with 6 additions and 1 deletions

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}