WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.49k stars 4.19k forks source link

Block Patterns: previews overflow the container in some themes #23720

Closed enriquesanchez closed 4 years ago

enriquesanchez commented 4 years ago

Describe the bug In some themes (so far only tested on 2019, 2017 and 2015), the pattern preview overflows the container

To reproduce Using a theme other than 2020 or the Starter theme:

  1. Open the Block library ('Add block')
  2. Click on 'Patterns'
  3. Scroll down the list of patterns
  4. See error

Expected behavior Pattern previews should stay contained inside block-editor-block-patterns-list__item.

Screenshots

Twenty Fifteen

2015

Twenty Seventeen

2017

Twenty Nineteen

2019

Editor version (please complete the following information):

Desktop (please complete the following information):

enriquesanchez commented 4 years ago

cc. @youknowriad