Commit c24ef152ab8 for woocommerce
commit c24ef152ab8d3c1d9bd906dd83fba4ca56760c82
Author: Ahmar Zaidi <71930390+AhmarZaidi@users.noreply.github.com>
Date: Fri Mar 6 17:22:27 2026 +0530
Fix the misalignment of set new/lost password fields for twenty twenty and twenty twenty one themes (#59273)
update: legacy theme style for tt1 & tt theme
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
diff --git a/plugins/woocommerce/changelog/fix-31404 b/plugins/woocommerce/changelog/fix-31404
new file mode 100644
index 00000000000..5384218ab41
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-31404
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Fix the misalignment of the set new/lost password fields for twenty twenty and twenty twenty one themes.
diff --git a/plugins/woocommerce/client/legacy/css/twenty-twenty-one.scss b/plugins/woocommerce/client/legacy/css/twenty-twenty-one.scss
index e685ea8d2b0..f7378988f06 100644
--- a/plugins/woocommerce/client/legacy/css/twenty-twenty-one.scss
+++ b/plugins/woocommerce/client/legacy/css/twenty-twenty-one.scss
@@ -1191,9 +1191,7 @@ a.reset_variations {
}
.woocommerce-ResetPassword {
- .woocommerce-form-row--first {
- float: none;
- }
+ width: 100%;
#user_login {
margin-bottom: 10px;
diff --git a/plugins/woocommerce/client/legacy/css/twenty-twenty.scss b/plugins/woocommerce/client/legacy/css/twenty-twenty.scss
index 8f705cd9e19..ad6cf7c20f0 100644
--- a/plugins/woocommerce/client/legacy/css/twenty-twenty.scss
+++ b/plugins/woocommerce/client/legacy/css/twenty-twenty.scss
@@ -2176,9 +2176,7 @@ a.reset_variations {
}
.woocommerce-ResetPassword {
- .woocommerce-form-row--first {
- float: none;
- }
+ width: 100%;
}
}