mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
NFTs: Add proper padding to import warning (#17202)
This commit is contained in:
parent
a5a775bcfd
commit
7d616fa513
@ -125,27 +125,29 @@ export default function AddCollectible() {
|
||||
<CollectiblesDetectionNotice />
|
||||
) : null}
|
||||
{collectibleAddFailed && (
|
||||
<ActionableMessage
|
||||
type="danger"
|
||||
useIcon
|
||||
iconFillColor="var(--color-error-default)"
|
||||
message={
|
||||
<Box display={DISPLAY.INLINE_FLEX}>
|
||||
<Typography
|
||||
variant={TYPOGRAPHY.H7}
|
||||
fontWeight={FONT_WEIGHT.NORMAL}
|
||||
margin={0}
|
||||
>
|
||||
{t('collectibleAddFailedMessage')}
|
||||
</Typography>
|
||||
<button
|
||||
className="fas fa-times add-collectible__close"
|
||||
title={t('close')}
|
||||
onClick={() => setCollectibleAddFailed(false)}
|
||||
/>
|
||||
</Box>
|
||||
}
|
||||
/>
|
||||
<Box marginLeft={4} marginRight={4}>
|
||||
<ActionableMessage
|
||||
type="danger"
|
||||
useIcon
|
||||
iconFillColor="var(--color-error-default)"
|
||||
message={
|
||||
<Box display={DISPLAY.INLINE_FLEX}>
|
||||
<Typography
|
||||
variant={TYPOGRAPHY.H7}
|
||||
fontWeight={FONT_WEIGHT.NORMAL}
|
||||
margin={0}
|
||||
>
|
||||
{t('collectibleAddFailedMessage')}
|
||||
</Typography>
|
||||
<button
|
||||
className="fas fa-times add-collectible__close"
|
||||
title={t('close')}
|
||||
onClick={() => setCollectibleAddFailed(false)}
|
||||
/>
|
||||
</Box>
|
||||
}
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
<Box margin={4}>
|
||||
<FormField
|
||||
|
Loading…
Reference in New Issue
Block a user