[wp-meta] [Making WordPress.org] #5821: Prevent layout shift on showcase feature banner

Making WordPress.org noreply at wordpress.org
Tue Jul 13 08:27:44 UTC 2021


#5821: Prevent layout shift on showcase feature banner
----------------------------+-----------------------------
 Reporter:  jonoaldersonwp  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  low             |  Milestone:
Component:  Showcase        |   Keywords:  seo performance
----------------------------+-----------------------------
 The hero banner on https://wordpress.org/showcase/ causes considerable
 layout shift as it loads. This should be corrected by implementing the
 following CSS:

 - Add `display:block`, `object-fit:cover` and `height:310px` to
 `.screenshot`
 - Change height to `336px` on `.wpsc-hero-slide-container`
 - Set a `min-height` of `22px` on `.wpsc-slide-pager`

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5821>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list