Opened 13 years ago
Closed 13 years ago
#26223 closed defect (bug) (fixed)
Login form expands 4px when submit button clicked
| Reported by: | morganestes | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.8 |
| Component: | General | Version: | 3.8 |
| Severity: | normal | Keywords: | has-patch ui-feedback |
| Cc: | Focuses: | ui |
Description
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
wp-admin/css/wp-admin.css