diff --git a/client/src/components/helpers/spacer.tsx b/client/src/components/helpers/spacer.tsx index a89cc91688a..2dfaa28acee 100644 --- a/client/src/components/helpers/spacer.tsx +++ b/client/src/components/helpers/spacer.tsx @@ -1,6 +1,7 @@ import React from 'react'; const Padding = Object.freeze({ + xxSmall: 2.5, small: 5, xSmall: 10, medium: 15, diff --git a/client/src/components/landing/landing.css b/client/src/components/landing/landing.css index 40861f9001f..187659acbde 100644 --- a/client/src/components/landing/landing.css +++ b/client/src/components/landing/landing.css @@ -9,10 +9,6 @@ white-space: pre-line; } -.cert-btn { - margin-top: 40px; -} - .landing-page ul { list-style: none; padding-inline-start: 0; diff --git a/client/src/components/layouts/global.css b/client/src/components/layouts/global.css index cf4113f1954..b67e09f5663 100644 --- a/client/src/components/layouts/global.css +++ b/client/src/components/layouts/global.css @@ -269,6 +269,8 @@ input[type='submit']:hover, color: var(--secondary-background); } +button[aria-disabled='true'], +button[aria-disabled='true']:hover, .btn.disabled, .btn[disabled], fieldset[disabled] .btn, diff --git a/client/src/templates/Challenges/classic/lower-jaw.tsx b/client/src/templates/Challenges/classic/lower-jaw.tsx index 0b4a51dbd97..dac2bc2d1f0 100644 --- a/client/src/templates/Challenges/classic/lower-jaw.tsx +++ b/client/src/templates/Challenges/classic/lower-jaw.tsx @@ -1,6 +1,5 @@ import React, { useState, useEffect, useRef } from 'react'; import { useTranslation } from 'react-i18next'; -import { Button } from '@freecodecamp/react-bootstrap'; import { createSelector } from 'reselect'; import { connect } from 'react-redux'; @@ -22,8 +21,6 @@ import { completedPercentageSelector } from '../redux/selectors'; -const lowerJawButtonStyle = 'btn-block btn'; - interface LowerJawPanelProps extends ShareProps { resetButtonText: string; helpButtonText: string; @@ -297,18 +294,17 @@ const LowerJaw = ({ return (
{t('learn.ms.linked', { msUsername })}