Financial-Times / o-grid

Responsive grid system
http://registry.origami.ft.com/components/o-grid
94 stars 17 forks source link

Normalise usage of class="o-grid-row" & data-o-grid-colspan="12" #59

Closed kaelig closed 9 years ago

kaelig commented 9 years ago

Currently it's possible to combine class="o-grid-row" and data-o-grid-colspan to create a single full width container, such as:

<!-- Full width, horizontally centred container, with proper outer margins -->
<div class="o-grid-row" data-o-grid-colspan="12"></div>

We should normalise the usage and allow only one, nested notation, similar to any other way you'd add columns in a row:

<div class="o-grid-row">
     <div data-o-grid-colspan="12"></div>
</div>
triblondon commented 9 years ago

No objection.

kaelig commented 9 years ago

Closing as this is in v3.

A few modules need to be tweaked: