Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#15913 closed defect (bug) (fixed)

submit button with the id of 'save' is too wide

Reported by: nacin Owned by: markjaquith
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: UI Keywords: has-patch
Focuses: Cc:


Coming out of #15064, we're adding id="save" to a number of submit buttons that didn't have it previously, as name had equaled "save".

Overly generic CSS somewhere gives this submit button a width of 15em. This is prevalent on upload.php, comment.php?action=edit and possibly elsewhere.

Kill the CSS rule, make it more specific for its intended save button.

Attachments (1)

15913.diff (407 bytes) - added by scribu 11 years ago.

Download all attachments as: .zip

Change History (5)

11 years ago

#1 @scribu
11 years ago

  • Keywords has-patch added

#2 @nacin
11 years ago

Is the rule even necessary then?

#3 @markjaquith
11 years ago

  • Owner set to markjaquith
  • Status changed from new to accepted

Don't think it is. And with the patch, the media editing screen's button is bigger than it was in 3.0. In any case, less is broken by a button that is too small than buttons that are too big. Removing the rule.

#4 @markjaquith
11 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [17104]) Remove overly broad CSS rule. fixes #15913

Note: See TracTickets for help on using tickets.