diff --git a/app/assets/stylesheets/components/_step-indicator.scss b/app/assets/stylesheets/components/_step-indicator.scss index c9a4384a917..a9f4dc6c083 100644 --- a/app/assets/stylesheets/components/_step-indicator.scss +++ b/app/assets/stylesheets/components/_step-indicator.scss @@ -130,14 +130,3 @@ lg-step-indicator { .step-indicator__step--current .step-indicator__step-title { font-weight: bold; } - -.step-indicator__step-subtitle { - @include at-media-max('tablet') { - @include sr-only; - } - - @include at-media('tablet') { - display: block; - font-style: italic; - } -} diff --git a/app/javascript/packages/step-indicator/step-indicator-step.spec.tsx b/app/javascript/packages/step-indicator/step-indicator-step.spec.tsx index fcfce8a5151..785876b8105 100644 --- a/app/javascript/packages/step-indicator/step-indicator-step.spec.tsx +++ b/app/javascript/packages/step-indicator/step-indicator-step.spec.tsx @@ -14,7 +14,6 @@ describe('StepIndicatorStep', () => { expect(status).to.be.ok(); expect(step.classList.contains('step-indicator__step--current')).to.be.true(); expect(step.classList.contains('step-indicator__step--complete')).to.be.false(); - expect(status.classList.contains('step-indicator__step-subtitle')).to.be.false(); expect(status.classList.contains('usa-sr-only')).to.be.true(); }); }); @@ -31,7 +30,6 @@ describe('StepIndicatorStep', () => { expect(status).to.be.ok(); expect(step.classList.contains('step-indicator__step--current')).to.be.false(); expect(step.classList.contains('step-indicator__step--complete')).to.be.true(); - expect(status.classList.contains('step-indicator__step-subtitle')).to.be.false(); expect(status.classList.contains('usa-sr-only')).to.be.true(); }); }); @@ -50,7 +48,6 @@ describe('StepIndicatorStep', () => { expect(status).to.be.ok(); expect(step.classList.contains('step-indicator__step--current')).to.be.false(); expect(step.classList.contains('step-indicator__step--complete')).to.be.false(); - expect(status.classList.contains('step-indicator__step-subtitle')).to.be.false(); expect(status.classList.contains('usa-sr-only')).to.be.true(); }); });