Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21054 closed defect (bug) (fixed)

+1px widget placeholder height

Reported by: alexvorn2 Owned by: markjaquith
Priority: normal Milestone: 3.5
Component: Widgets Version: 3.4
Severity: trivial Keywords: has-patch
Cc: Focuses:

Description

ui.placeholder.height(ui.item.height()) this will make the placeholder to have the same size as the widget, or we can add ui.placeholder.height(27) for 27 pixel height for the placeholder. (in the start event of '.widgets-sortables' function in widgets.js)

Attachments (3)

21054.png (6.2 KB ) - added by SergeyBiryukov 14 years ago.
21054.patch (353 bytes ) - added by SergeyBiryukov 14 years ago.
21054.after.png (6.2 KB ) - added by SergeyBiryukov 14 years ago.

Download all attachments as: .zip

Change History (7)

@SergeyBiryukov
14 years ago

#1 @SergeyBiryukov
14 years ago

  • Keywords has-patch added; needs-patch removed

As far as I can see, the issue is that placeholders are 1px shorter than widget titles (21054.png).

21054.patch fixes that. Tested in Firefox 13, Chrome 19, IE 8, Opera 11.64.

#2 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review3.5
  • Severity normaltrivial

#3 @georgestephanis
14 years ago

I approve of this patch. :: thumbs up campaign ad ::

#4 @markjaquith
14 years ago

  • Owner set to markjaquith
  • Resolutionfixed
  • Status newclosed

In [21244]:

Increase the height of the widget drag/drop placeholder by one pixel so it matches the size of the dragged widget. props alexvorn2. props SergeyBiryukov. fixes #21054

Note: See TracTickets for help on using tickets.