From ae523ec8949d1d64b7a920dd1d2c7c25b652e00f Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Thu, 25 Mar 2021 15:31:39 +0000 Subject: [PATCH] Login, Registration: Prevent button misalignment on login screen. Replace the CSS removed in [50569], which is used to align the login & register buttons. Props mukesh27, audrasjb. Reviewed by SergeyBiryukov. Merges [50577] to the 5.7 branch. Fixes #52834. git-svn-id: https://develop.svn.wordpress.org/branches/5.7@50580 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/login.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 037a601312..2212624e95 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -186,6 +186,10 @@ p { margin-bottom: 0; } +.login .button-primary { + float: right; +} + .login .reset-pass-submit { display: flex; flex-flow: row wrap; @@ -194,6 +198,7 @@ p { .login .reset-pass-submit .button { display: inline-block; + float: none; margin-bottom: 6px; }