WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 10 days ago

#48931 accepted defect (bug)

Align and size box in image widget issue

Reported by: fotisps Owned by: audrasjb
Milestone: 5.4 Priority: normal
Severity: normal Version: 5.3
Component: Widgets Keywords: has-screenshots has-patch commit
Focuses: ui Cc:
PR Number:

Description

The align box in Image Widget seems to overlap on size box and there is only the option of choosing the size of the image.

Attachments (4)

bug-display-settings-image.png (911.7 KB) - added by fotisps 6 weeks ago.
Capture d’écran 2020-01-11 à 23.03.23.png (291.4 KB) - added by audrasjb 10 days ago.
We need to "display:none" this element as well as the whole fielset is currently hidden in Widget context.
Capture d’écran 2020-01-11 à 23.07.39.png (226.6 KB) - added by audrasjb 10 days ago.
Widgets: hide unwanted fieldset legend from Widget Image media modal.
48931.diff (635 bytes) - added by audrasjb 10 days ago.
Widgets: hide unwanted fieldset legend from Widget Image media modal.

Download all attachments as: .zip

Change History (9)

#1 @marcelo2605
6 weeks ago

Hey @fotisps could you share some print of this error and how can I reproduce it?

#2 @marcelo2605
6 weeks ago

  • Keywords needs-screenshots added

#3 @marcelo2605
6 weeks ago

  • Keywords needs-screenshots removed

#4 @audrasjb
10 days ago

  • Component changed from General to Widgets
  • Keywords has-screenshots added
  • Owner set to audrasjb
  • Status changed from new to accepted

Hi @fotisps, welcome to WordPress Core Trac and thank you for opening this ticket!

I can reproduce the issue.
Moving to Widget component.

@audrasjb
10 days ago

We need to "display:none" this element as well as the whole fielset is currently hidden in Widget context.

@audrasjb
10 days ago

Widgets: hide unwanted fieldset legend from Widget Image media modal.

@audrasjb
10 days ago

Widgets: hide unwanted fieldset legend from Widget Image media modal.

#5 @audrasjb
10 days ago

  • Keywords has-patch commit added; needs-patch removed
  • Milestone changed from Awaiting Review to 5.4

In 48931.diff:

  • Widgets: hide unwanted fieldset legend from Widget Image media modal.

The patch is tested and works fine. It simply uses the CSS rule that is already used to hide other useless parts of the media modal (see screenshots above).

Note: See TracTickets for help on using tickets.