From 4a7009a1d2bc73c028c24b8824f71b2ec357ec52 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 22 Mar 2023 12:48:30 +0000 Subject: [PATCH] Login and Registration: Fix margin for language switcher button on small screens. This fixes an alignement issue on small screens in the language switcher button displayed on the Login screen. Follow-up to [52058], [52417]. Props sabernhardt. Fixes #57617. git-svn-id: https://develop.svn.wordpress.org/trunk@55582 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/login.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/login.css b/src/wp-admin/css/login.css index 1f89db216e..8f43504c1c 100644 --- a/src/wp-admin/css/login.css +++ b/src/wp-admin/css/login.css @@ -437,8 +437,7 @@ input::-ms-reveal { height: auto; } -.login .language-switcher .button-primary { - float: none; +.login .language-switcher .button { margin-bottom: 0; } @@ -472,7 +471,7 @@ input::-ms-reveal { } @media screen and (max-width: 400px) { - .login .language-switcher .button-primary { + .login .language-switcher .button { display: block; margin: 5px auto 0; }