diff --git a/app/javascript/controllers/savings_goal_stepper_controller.js b/app/javascript/controllers/savings_goal_stepper_controller.js index 72753ba43..9c5c4b5f3 100644 --- a/app/javascript/controllers/savings_goal_stepper_controller.js +++ b/app/javascript/controllers/savings_goal_stepper_controller.js @@ -194,8 +194,8 @@ export default class extends Controller { this.step2CircleTarget.classList.toggle("text-secondary", this.currentStep < 2); } if (this.hasStepperLineTarget) { - this.stepperLineTarget.classList.toggle("bg-inverse", this.currentStep > 1); - this.stepperLineTarget.classList.toggle("bg-secondary", this.currentStep === 1); + this.stepperLineTarget.classList.toggle("border-inverse", this.currentStep > 1); + this.stepperLineTarget.classList.toggle("border-secondary", this.currentStep === 1); } // Modal subtitle lives in the dialog header, outside this controller's // DOM scope. Locate it by attribute and update directly. diff --git a/app/views/savings_goals/_form_stepper.html.erb b/app/views/savings_goals/_form_stepper.html.erb index 43451be8e..9227d63db 100644 --- a/app/views/savings_goals/_form_stepper.html.erb +++ b/app/views/savings_goals/_form_stepper.html.erb @@ -11,7 +11,7 @@ 1 <%= t("savings_goals.form_stepper.step1.label") %> -
+
2 <%= t("savings_goals.form_stepper.step2.label") %>