1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix text alignment in Add a Network popup view (#15520)

This commit is contained in:
ryanml 2022-08-10 11:37:35 -07:00 committed by GitHub
parent 2dc8ba32da
commit 3ad4ab33a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@ import {
JUSTIFY_CONTENT,
DISPLAY,
COLORS,
FLEX_DIRECTION,
ALIGN_ITEMS,
} from '../../../helpers/constants/design-system';
import { DEFAULT_ROUTE } from '../../../helpers/constants/routes';
@ -276,9 +278,11 @@ function getValues(pendingApproval, t, actions, history) {
],
props: {
variant: TYPOGRAPHY.H7,
align: 'center',
boxProps: {
margin: originIsMetaMask ? [0, 8] : 0,
display: DISPLAY.FLEX,
flexDirection: FLEX_DIRECTION.COLUMN,
alignItems: ALIGN_ITEMS.CENTER,
},
},
},