WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 3 weeks ago

#34061 closed defect (bug) (invalid)

customizer search widgets input text is not verticaly aligned and dont have equal spacing from left and right.

Reported by: umesh.nevase Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Customize Keywords: has-patch close
Focuses: ui, administration Cc:

Description

I 've found some csss issue in customizer styling. When we add widget through customizer, The search box text in 'Add a widget' area is not verticaly aligned and spacing from left and right is not equal. I've attached screenshot for better understanding. We need some css changes. I've checked on latest chrome and firefox.

Attachments (2)

search-widget-text-edited.png (75.4 KB) - added by umesh.nevase 6 years ago.
I've showed issue by arows
34061.diff (721 bytes) - added by umesh.nevase 6 years ago.
patch file for the issues

Download all attachments as: .zip

Change History (8)

@umesh.nevase
6 years ago

I've showed issue by arows

@umesh.nevase
6 years ago

patch file for the issues

#1 @umesh.nevase
6 years ago

  • Keywords has-patch added

#2 @umesh.nevase
6 years ago

  • Focuses accessibility administration added
  • Keywords 2nd-opinion added
  • Version changed from 4.3.1 to 4.3

#3 @afercia
6 years ago

  • Focuses accessibility removed

Related: #34333.

We should try to unify the look of the "Search widget" field with the "Search menu items" field. And yes you're definitely right, the left and right margin are unequal, mainly because input fields have a default 1px margin (never got why) and the weird padding values of the container here try to compensate it.
#34333 kind of overlaps this ticket, will add a note there.

#4 @celloexpressions
5 years ago

  • Version changed from 4.3 to 3.9

I believe this odd spacing dates to the widget customizer feature plugin. Not sure why it was there in the first place, but it was changed for menus previously.

#5 @celloexpressions
4 weeks ago

  • Keywords close added; 2nd-opinion removed
  • Milestone set to 5.8

This UI is likely being removed in 5.8 with the replacement of widgets with blocks in the customizer. This ticket can be closed as invalid if/when customizer block widgets are merged.

#6 @celloexpressions
3 weeks ago

  • Milestone 5.8 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Invalidated (or fixed) by [50996].

Note: See TracTickets for help on using tickets.