Reputation: 7574
I'm using Bulma for column management, and it has a is-multiline
class that can be used to allow columns to wrap. However, I'm not using this class, but my columns are still wrapping.
Two columns are always side-by-side, on the same row
At certain viewport widths, the second column goes below the first column instead of beside.
If you're familiar with Bulma, would you mind taking a look at this simple example and letting me know if I'm doing something obviously wrong? Thanks so much!
<div class="body">
<div class="columns">
<div class="column row-name is-narrow">
Row 1
</div>
<div class="column row-cells">
Some data
</div>
</div>
</div>
.body {
width: 600px;
background-color: #000;
margin: 0 auto 0;
}
.row-name {
background-color: #ffff0088;
width: 50px;
}
.row-cells {
background-color: #ff000088;
}
A JSFiddle: https://jsfiddle.net/8ggyagxp/10/
Upvotes: 3
Views: 2923
Reputation: 7574
It turns out if Bulma detects that your viewport is mobile sized, it will stack columns unless the is-mobile
class exists on the columns. See here for more information.
Upvotes: 6