Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#26223 closed defect (bug) (fixed)

Login form expands 4px when submit button clicked

Reported by: morganestes's profile morganestes Owned by:
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: General Keywords: has-patch ui-feedback
Focuses: ui Cc:

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.

Attachments (1)

26223.diff (385 bytes) - added by morganestes 12 years ago.
wp-admin/css/wp-admin.css

Download all attachments as: .zip

Change History (3)

@morganestes
12 years ago

wp-admin/css/wp-admin.css

#1 @morganestes
12 years ago

  • Keywords close added

Just alerted that this was fixed by [26441] a few minutes ago (see #25858).

Last edited 12 years ago by SergeyBiryukov (previous) (diff)

#2 @SergeyBiryukov
12 years ago

  • Component changed from Appearance to General
  • Keywords ui-focus added; close removed
  • Milestone changed from Awaiting Review to 3.8
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.