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

1 Answer 1

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, 2020 at 2:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .