[wp-trac] [WordPress Trac] #61666: Extra margin in tablet and mobile login button in admin login

WordPress Trac noreply at wordpress.org
Tue Jul 23 06:43:15 UTC 2024


#61666: Extra margin in tablet and mobile login button in admin login
-------------------------------------------------+-------------------------
 Reporter:  trushaamin                           |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Login and Registration               |     Version:  3.8
 Severity:  minor                                |  Resolution:
 Keywords:  needs-design-feedback has-patch      |     Focuses:  ui, css
  changes-requested 2nd-opinion                  |
-------------------------------------------------+-------------------------

Comment (by trushaamin):

 @sabernhardt i think @dharmik1455 is right, when we remove the 4px margin
 after no any design break. [comment:3 sabernhardt]:
 > Hi and thanks for the report!
 >
 > Editing the `buttons.css` styles can affect many other parts of the
 admin UI, so that stylesheet needs to keep the margin (which was
 originally added in [26134]).
 >
 > It //might// be worth setting the `.login .submit .button` bottom margin
 to zero for most uses of `wp-login.php`. I was most concerned about the
 password-reset form, but both the Generate Password and Save Password
 buttons have their own 6-pixel bottom margin to give space between them
 when stacked vertically.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61666#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list