`nth-of-type` fix for block-grids

`nth-of-type` should be applied to the `li` to have the contents float correctly.
Merge pull request #1716 from eillarra/patch-2

`nth-of-type` fix for block-grids