Skip to content

Commit

Permalink
πŸ“– amp-list docs: increase clarity of overflow section (#32619)
Browse files Browse the repository at this point in the history
* amp-list docs: increase clarity of overlow section

* wording updates
  • Loading branch information
samouri committed Feb 12, 2021
1 parent ae4a276 commit 7cf184c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/amp-list/amp-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ In `<amp-list>`, you can use the [`items`](#items) attribute to render a subset

### Specifying an overflow

Optionally, the `<amp-list>` component can contain an element with the `overflow` attribute. Add an element with the AMP `overflow` attribute to `amp-list` if the AMP framework is unable to size it as requested. If you include a child element of `amp-list` with the `overflow` attribute, it will appear if one of the following conditions are met:
Optionally, the `<amp-list>` component can contain an element with the `overflow` attribute. AMP will display this element if all of the following conditions are met:

- The bottom of `amp-list` is below the viewport.

- The bottom of `amp-list` is within 15% of the height of the entire page and within 1000px of the end of the page.
- The contents rendered into the `amp-list` exceed its specified size.
- The bottom of `amp-list` is within the viewport.
- The bottom of `amp-list` is not near the bottom of the page (defined as the minimum of either the bottom 15% of the document or the bottom 1000px)

If `amp-list` is outside the viewport, it will be automatically expanded.

Expand Down

0 comments on commit 7cf184c

Please sign in to comment.