Opened 7 years ago
Closed 5 years ago
#42081 closed defect (bug) (wontfix)
Some widget controls are too wide for their container
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.8 |
Component: | Widgets | Keywords: | has-screenshots close |
Focuses: | ui, administration | Cc: |
Description
When using the Appearance -> Widgets screen, the controls for the Custom HTML
, RSS
, and Text
widgets are too wide for the container, and overflow to the left.
This only happens when a theme is in use which has more than one widget area and therefore causes two columns of widget areas to appear on the Widgets screen.
All three widgets are being given a left margin of -28px
at runtime.
All the other default widgets are fine, and all widgets are fine when used in the Widgets panel in the Customizer.
The issue has been present since the introduction of the MP6 admin design in 3.8.
Attachments (1)
Change History (5)
#4
@
5 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Closing per comment:2, as this is by design.
See also comment:32:ticket:42001 for some history on wide widgets.
Note: See
TracTickets for help on using
tickets.
@johnbillion This is actually a feature. These are the “wide” widgets in WordPress. It gets triggered when a widget is defined with a width wider than 250px. You can see the widgets in how the widgets are defined:
Letting the Custom HTML widget be wide was actually explicitly implemented in [41000].
Accommodating them in the admin and Customizer is not pretty but they are supported:
Here's a plugin to demo it: https://gist.github.com/westonruter/7141599