Merge pull request #2617 from woocommerce/PCP-3693-adjust-numbering-logic-to-display-correct-numbers-during-checkout-steps

AXO Blocks: Fix the step counter in block checkout in the initial Fastlane stage
This commit is contained in:
Danny Dudzic 2024-09-18 22:42:20 +02:00 committed by GitHub
commit c92d90f542
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -204,6 +204,19 @@ $fast-transition-duration: 0.5s;
}
}
}
// 4.8 Counter fix
.wc-block-checkout__form {
counter-reset: visible-step;
.wc-block-components-checkout-step--with-step-number {
counter-increment: visible-step;
.wc-block-components-checkout-step__title:before {
content: counter(visible-step) ". ";
}
}
}
}
// 5. Shipping/Card Change Link