0 Replies
      Latest reply on Oct 22, 2018 11:11 AM by danau
      danau Level 1 Level 1 (0 points)

        https://developer.apple.com/documentation/apple_news/collection_display#see-also

         

        Hi, I have a container using the following with a nested image and text component that both take 50% of the width of the container which is great for mobile, but for tablet, I'd like to be able to specify the maxwidth of only the image so that it takes 30% or a column span of 3 for larger displays.

         

        Does anyone know how to achieve that type of layout?

         

        "contentDisplay": {
          "type": "collection",
          "gutter": "15",
          "rowSpacing": "30",
          "distribution": "wide",
          "variableSizing": true
          }
        
        

         

        thanks!