Show step 4 (Results) as green checkmark in stepper
Step 4 now shows a green checkmark like completed steps, since reaching Results means the wizard is complete. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
181dfbe7bf
commit
e23c887b0f
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ function goToStep(step) {
|
|||
document.querySelectorAll('.step-item').forEach(item => {
|
||||
const s = parseInt(item.dataset.step);
|
||||
const num = item.querySelector('.step-number');
|
||||
if (s < step) {
|
||||
if (s < step || (s === step && step === 4)) {
|
||||
num.className = 'step-number flex items-center justify-center w-8 h-8 rounded-full bg-green-500 text-white text-sm font-semibold shrink-0';
|
||||
num.innerHTML = '<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/></svg>';
|
||||
} else if (s === step) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue