amp-list with dynamic height
<p>I'm using amp-list and I would like to have a dynamic height based on the results that I got. There is a way to do it? I couldn't get it done.</p>

<pre><code>&lt;amp-list src="request-url"&gt;
    &lt;template type="amp-mustache" id="amp-template-id"&gt;
    ...
    &lt;/template&gt;
&lt;/amp-list&gt;
</code></pre>

<p>All the available layouts requires dimensions at the amp-list level or parent level. However I don't want to specify an height. My results can either have 1 or 12 items.</p>