[wp-trac] [WordPress Trac] #26223: Login form expands 4px when submit button clicked

WordPress Trac noreply at wordpress.org
Sun Nov 24 20:55:10 UTC 2013


#26223: Login form expands 4px when submit button clicked
--------------------------+-----------------------------------
 Reporter:  morganestes   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Appearance    |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch ui-feedback
--------------------------+-----------------------------------
 When the form on `wp-login.php` is submitted, the button's `:active` state
 expands the form by 4px, causing a visible jump that wasn't present in
 3.7.

 The CSS is controlled by setting a 4px bottom margin on the submit button,
 but is written and overwritten by `wp-includes/css/buttons.css` and `wp-
 admin/css/wp-admin.css`.

 Removing `.wp-core-ui .button:active` in `wp-admin.css` corrects the issue
 with the login form, but may have other issues in the Admin pages that I
 haven't been able to determine. All of my spot checks show that other
 submit buttons styled this way have other specific styles that remove this
 margin, or add other margins.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26223>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list