mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
* Part of #18714 in ui\components\app\custom-spending-cap * Update checkbox.test.tsx.snap
This commit is contained in:
parent
36be38e979
commit
1277c6225d
@ -4,8 +4,8 @@ import Box from '../../ui/box';
|
||||
import Tooltip from '../../ui/tooltip';
|
||||
import {
|
||||
TextColor,
|
||||
DISPLAY,
|
||||
TextVariant,
|
||||
Display,
|
||||
} from '../../../helpers/constants/design-system';
|
||||
|
||||
import { Icon, IconName, IconSize } from '../../component-library';
|
||||
@ -15,7 +15,7 @@ export const CustomSpendingCapTooltip = ({
|
||||
tooltipContentText,
|
||||
tooltipIcon,
|
||||
}) => (
|
||||
<Box display={DISPLAY.INLINE_BLOCK}>
|
||||
<Box display={Display.InlineBlock}>
|
||||
<Tooltip
|
||||
interactive
|
||||
position="top"
|
||||
|
@ -12,8 +12,6 @@ import { ButtonLink, Icon, IconName } from '../../component-library';
|
||||
import { Text } from '../../component-library/text/deprecated';
|
||||
import {
|
||||
AlignItems,
|
||||
DISPLAY,
|
||||
FLEX_DIRECTION,
|
||||
TextAlign,
|
||||
TextVariant,
|
||||
JustifyContent,
|
||||
@ -21,6 +19,8 @@ import {
|
||||
BLOCK_SIZES,
|
||||
BackgroundColor,
|
||||
TextColor,
|
||||
Display,
|
||||
FlexDirection,
|
||||
} from '../../../helpers/constants/design-system';
|
||||
import { setCustomTokenAmount } from '../../../ducks/app/app';
|
||||
import { calcTokenAmount } from '../../../../shared/lib/transactions-controller-utils';
|
||||
@ -213,15 +213,15 @@ export default function CustomSpendingCap({
|
||||
paddingTop={2}
|
||||
paddingRight={6}
|
||||
paddingLeft={6}
|
||||
display={DISPLAY.FLEX}
|
||||
display={Display.Flex}
|
||||
alignItems={AlignItems.flexStart}
|
||||
flexDirection={FLEX_DIRECTION.COLUMN}
|
||||
flexDirection={FlexDirection.Column}
|
||||
backgroundColor={BackgroundColor.backgroundAlternative}
|
||||
gap={2}
|
||||
>
|
||||
<Box
|
||||
justifyContent={JustifyContent.center}
|
||||
display={DISPLAY.BLOCK}
|
||||
display={Display.Block}
|
||||
className="custom-spending-cap__input"
|
||||
>
|
||||
<label
|
||||
|
Loading…
Reference in New Issue
Block a user