Making WordPress.org

Opened 7 weeks ago

Last modified 4 days 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 4 days ago.

Download all attachments as: .zip

Change History (3)

#1 @iandunn
7 weeks ago

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


4 days ago

#2 @donmhico
4 days 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.