I have an amp-list
which has some items. The text within these items, sometimes exceed the item height. To solve this, I'm using the component amp-fit-text
.
This component increase or decrease the font-size
, then, the text fits in the container. But this component can do an ellipsis, if I define a min font size. Works fine outside the amp-list
, but the min-font-size
attribute is not being followed. In this case, the text is being fitted in the content, rather than use the min font size and creates an ellipsis.
I created a fiddle to show both examples: https://jsfiddle.net/po5mwLka/2/
这看起来像个错误,请您在此处提出问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.