0

I'm trying to do something like this: https://nomadlist.com/

Rows of 3 elements (cards?) Going from top to bottom. Same size, perfectly aligned.

I'm using Handlebars and Bulma CSS, and the card components and doing this:

<div class="columns">
    {{#each serverElements}}
    <div class="column">
      <div class="card">
      <header class="card-header">
        <p class="card-header-title">
          {{this.title}}
        </p>
        <a class="card-header-icon">
          <span class="icon">
            <i class="fa fa-angle-down"></i>
          </span>
        </a>
      </header>
      <div class="card-content">
        <div class="content">
          {{this.body}}
          <a>@bulmaio</a>. <a>#css</a> <a>#responsive</a>
          <br>
          <small>this.createdAt</small>
        </div>
      </div>
      <footer class="card-footer">
        <a class="card-footer-item">Save</a>
        <a class="card-footer-item">Edit</a>
        <a class="card-footer-item">Delete</a>
      </footer>
    </div>
    </div>

      {{/each}}
  </div>

And it partially works. Each of the elements gets its own card. But this prints them all on the same row. And with different sizes.

Paul Roub
  • 36,322
  • 27
  • 84
  • 93

1 Answers1

1

If i understand you right, You sould use the is-multiline modifier with the right column, if you want 3 in a row, then use `column is-4'.

GabMic
  • 1,422
  • 1
  • 20
  • 37