Make WordPress Core

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

@morganestes
13 years ago

wp-admin/css/wp-admin.css

#1 @morganestes
13 years ago

  • Keywords close added

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

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

#2 @SergeyBiryukov
13 years ago

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