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:
parent
2dc8ba32da
commit
3ad4ab33a8
@ -8,6 +8,8 @@ import {
|
|||||||
JUSTIFY_CONTENT,
|
JUSTIFY_CONTENT,
|
||||||
DISPLAY,
|
DISPLAY,
|
||||||
COLORS,
|
COLORS,
|
||||||
|
FLEX_DIRECTION,
|
||||||
|
ALIGN_ITEMS,
|
||||||
} from '../../../helpers/constants/design-system';
|
} from '../../../helpers/constants/design-system';
|
||||||
import { DEFAULT_ROUTE } from '../../../helpers/constants/routes';
|
import { DEFAULT_ROUTE } from '../../../helpers/constants/routes';
|
||||||
|
|
||||||
@ -276,9 +278,11 @@ function getValues(pendingApproval, t, actions, history) {
|
|||||||
],
|
],
|
||||||
props: {
|
props: {
|
||||||
variant: TYPOGRAPHY.H7,
|
variant: TYPOGRAPHY.H7,
|
||||||
align: 'center',
|
|
||||||
boxProps: {
|
boxProps: {
|
||||||
margin: originIsMetaMask ? [0, 8] : 0,
|
margin: originIsMetaMask ? [0, 8] : 0,
|
||||||
|
display: DISPLAY.FLEX,
|
||||||
|
flexDirection: FLEX_DIRECTION.COLUMN,
|
||||||
|
alignItems: ALIGN_ITEMS.CENTER,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user