diff --git a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js index fd0cf0938..76ff4983e 100644 --- a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js +++ b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js @@ -16,11 +16,10 @@ import { useTransactionModalContext } from '../../../contexts/transaction-modal' import EditGasFeeButton from '../edit-gas-fee-button'; import GasDetailsItem from '../gas-details-item'; import Box from '../../ui/box'; -import Button from '../../ui/button'; import InfoTooltip from '../../ui/info-tooltip'; import Popover from '../../ui/popover'; import AppLoadingSpinner from '../app-loading-spinner'; -import { Text } from '../../component-library'; +import { Text, Button, ButtonLink } from '../../component-library'; const CancelSpeedupPopover = () => { const { @@ -101,7 +100,7 @@ const CancelSpeedupPopover = () => { alignItems={AlignItems.center} display={DISPLAY.FLEX} variant={TextVariant.bodySm} - marginBottom={2} + marginBottom={4} className="cancel-speedup-popover__description" > {t('cancelSpeedUpLabel', [ @@ -110,22 +109,21 @@ const CancelSpeedupPopover = () => { - {t('cancelSpeedUpTransactionTooltip', [ - editGasMode === EditGasModes.cancel - ? t('cancel') - : t('speedUp'), - ])} -
- - {t('learnMoreUpperCase')} - -
- + <> + + {t('cancelSpeedUpTransactionTooltip', [ + editGasMode === EditGasModes.cancel + ? t('cancel') + : t('speedUp'), + ])} + + + {t('learnMoreUpperCase')} + + } /> @@ -142,9 +140,7 @@ const CancelSpeedupPopover = () => { - + ); diff --git a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.stories.js b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.stories.js index 726091cad..0b2d541d7 100644 --- a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.stories.js +++ b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.stories.js @@ -41,7 +41,6 @@ const MOCK_SUGGESTED_MEDIUM_MAXFEEPERGAS_HEX_WEI = export default { title: 'Components/App/CancelSpeedupPopover', component: CancelSpeedupPopover, - decorators: [ (story) => ( diff --git a/ui/components/app/cancel-speedup-popover/index.scss b/ui/components/app/cancel-speedup-popover/index.scss index 2930f8c1f..62383c12c 100644 --- a/ui/components/app/cancel-speedup-popover/index.scss +++ b/ui/components/app/cancel-speedup-popover/index.scss @@ -22,8 +22,6 @@ &__description { border-bottom: 1px solid var(--color-border-default); - margin-bottom: 8px; - padding-bottom: 8px; strong { font-weight: var(--font-weight-bold);