Skip to content

Commit 71cdeaa

Browse files
authored
Forms: Fix multi-step form submit button spinner CSS selector (#46807)
* target the right element with CSS selector * Add changelog entry
1 parent c74b1a6 commit 71cdeaa

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fixed
3+
4+
Multi-step forms: fix submit button spinner CSS selector to target the correct element.

projects/packages/forms/src/contact-form/css/grunion.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,8 @@ on production builds, the attributes are being reordered, causing side-effects
15101510
}
15111511

15121512
// use new ::after approach for animated spinner inside forms
1513-
.contact-form .wp-block-jetpack-button button[type="submit"].is-submitting:last-of-type,
1514-
.contact-form .wp-block-button button[type="submit"].is-submitting:last-of-type {
1513+
.contact-form .wp-block-jetpack-form-step-navigation .wp-block-jetpack-button:last-of-type button[type="submit"].is-submitting,
1514+
.contact-form .wp-block-jetpack-form-step-navigation .wp-block-button:last-of-type button[type="submit"].is-submitting {
15151515

15161516
&::after {
15171517

0 commit comments

Comments
 (0)