Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Pinterest paragraphs have a large white space at the bottom on the AMP Page.
Reproduce by adding a pinterest to any article.
Comment | File | Size | Author |
---|---|---|---|
Bildschirmfoto 2017-10-12 um 13.22.23.png | 310.73 KB | daniel.bosen |
Comments
Comment #2
tjwelde CreditAttribution: tjwelde at Thunder commentedWe had issues with pinterest and responsive layouts before: https://github.com/ampproject/amphtml/issues/7597.
AMP tries to scale the widget by keeping the aspect ratio, specified with `width` and `height` (which are necessary). But pinterest itself only tries to (unsuccesfully) scale in the horizontal direction.
Additionally, the width and height seem to be hardcoded, which makes it also not work when we use a fixed layout.
So the only real solution seems to be, finding out the correct width and height and using the fixed layout.
Comment #3
chr.fritschAMP was removed from Thunder 6