0

Can someone help me with getting the sections in horizontal format rather than how it is shown in the screenshots? (sorry for the screenshots, i was not able to save the playground file to share)

enter image description here

enter image description here

2
0

Just use a <lightning-layout> and <lightning-layout-item>:

<lightning-layout multiple-rows>
  <template for:each={transformed}...>
      <lightning-layout-item size="6">
          <lightning-tile ...

You can use flex mode if you want to have them all on a single line, or specify a size to wrap around as specified (e.g. 6 results in 2 columns, 4 results in 3 columns).

1
  • That did the trick!! thank you
    – SunnyG
    Jul 24 '20 at 2:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.