Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 299303

Blocks with fixed width elements can break multi-column Layout Builder layouts

$
0
0

This problem occurs if content is added to a Layout builder and that content includes an element styled with a fixed width wider than the width of the column.
The column will assume the width of the wider child element, breaking the column layout.

This was discovered (and easy to reproduce) with the comment block, but this issue will happen with any content styled wider than the column width.

How this was discovered:

Steps to reproduce (also see youtube recording )

- Vanilla Drupal 8 (I used simplytest.me to verify)
- Activate Layout Builder module
- Activate Layout Builder on Article
- Modify Layout with two columns with body left and comments to the right
- Enter a artice (the comment form shows underneath instead beside)
- Enter comments
- Save

The comments appear below the body instead of to the right

screenshot


Viewing all articles
Browse latest Browse all 299303

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>