-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Milestone
Description
Grid--fit's name can be a bit misleading, particularly because of the name of u-sizeFit.
One might think Grid--fit might be equivalent to:
<div class="Grid">
<div class="Grid-cell u-sizeFit">
<div class="fixture-Box">1</div>
</div>
<div class="Grid-cell u-sizeFit">
<div class="fixture-Box">2</div>
</div>
<div class="Grid-cell u-sizeFit">
<div class="fixture-Box">3</div>
</div>
</div>
But it isn't.
Grid--fit distributes cell widths to occupy an entire row equally.
I'm thinking maybe Grid--distribute would be more appropriate? If we wanted to support a "shirinkwrap" grid like the above example, we could repurpose Grid--fit for that.
Otherwise maybe Grid--collapse, or just dropping it all together. It's basically if you were using a standard flexbox, but still wanted your grid gutters (think horizontal list).
Thoughts @simonsmith @giuseppeg?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels