Making WordPress.org

Opened 4 months ago

Last modified 2 months ago

#4566 assigned defect

Image placeholder isn't size-constrained

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: lowest
Component: WordCamp Site & Plugins Keywords: seo good-first-bug has-patch


When a WordCamp page is missing an image, such as with https://central.wordcamp.org/wordcamps/wordcamp-grand-rapids/, the preview/loading image escapes its bounding.

Attachments (1)

4566.diff (588 bytes) - added by donmhico 2 months ago.

Download all attachments as: .zip

Change History (3)

#1 @iandunn
4 months ago

  • Keywords needs-patch good-first-bug added
  • Status changed from new to assigned


2 months ago

#2 @donmhico
2 months ago

  • Keywords has-patch added; needs-patch removed

Basically in my patch, 4566.diff, I just added width: inherit; since it's immediate parent DOM which is .wc-single-website has set width width: 220px;. So in the future if the width is ever to be changed, the only place needed to be changed is width in .wc-single-website and the preview image will always adapt.

Note: See TracTickets for help on using tickets.