amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-story-shopping display issue

Open AutadeJS opened this issue 3 years ago • 2 comments

Description

With amp-story-shopping, when product details are displayed in bottom sheet, if product title is longer than 14 characters, the price display is spoiled as shown in attached snapshot. amp-story-shopping-bug

Reproduction Steps

Add a product with long title and check

Relevant Logs

No response

Browser(s) Affected

No response

OS(s) Affected

No response

Device(s) Affected

No response

AMP Version Affected

No response

AutadeJS avatar Jul 29 '23 19:07 AutadeJS

****what is the GitHub?

Paramjeet81 avatar Jul 31 '23 16:07 Paramjeet81

If you build it using proper amp-story-shopping-attachment config, this shouldn't happen. The font-size of the title is defined in em here so it should be responsive. I changed examples/amp-story/amp-story-shopping.html and you can see what it looks like with a narrow screen and a super long product title in PDP: image

ychsieh avatar Aug 02 '23 15:08 ychsieh