• Resolved moskatus

    (@moskatus)


    The Heights Attribute is not working inside amp-base-carousel, a CSS element #i-amp-0>:first-child is created which is overlaid by an inline style

    <amp-base-carousel
    width=”5″
    height=”2″
    heights=”(min-width: 800px) 430px, 100%”
    class=”products”
    layout=”responsive”
    visible-count=”(min-width: 800px) 5, 2″>

    is created <i-amphtml-sizer style=”display:block;padding-top:40%” slot=”i-amphtml-svc”></i-amphtml-sizer>

    @media (min-width: 800px)
    #i-amp-0>:first-child {
    padding-top: 430px;
    }
    #i-amp-0>:first-child {
    padding-top: 100%;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Attribute Heights not working’ is closed to new replies.