From bcdbedff608787a2efcd07579a8b511dd381c534 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Wed, 24 Mar 2021 00:20:06 +0000 Subject: [PATCH] Login, Registration: Prevent button misalignment on password reset screen. Prevent misalignment of "generate password" and "save password" buttons on the password reset screen on narrow screens and in languages requiring longer text than English. Props audrasjb, grapplerulrich, ryelle. Fixes #52834. git-svn-id: https://develop.svn.wordpress.org/trunk@50569 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/login.css | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 15f8cc81b4..037a601312 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -131,7 +131,7 @@ p { .login form { margin-top: 20px; margin-left: 0; - padding: 26px 24px 46px; + padding: 26px 24px 34px; font-weight: 400; overflow: hidden; background: #fff; @@ -186,8 +186,15 @@ p { margin-bottom: 0; } -.login .button-primary { - float: right; +.login .reset-pass-submit { + display: flex; + flex-flow: row wrap; + justify-content: space-between; +} + +.login .reset-pass-submit .button { + display: inline-block; + margin-bottom: 6px; } .login .admin-email-confirm-form .submit {