leejordan/reflex

To radical selector in grid

Closed this issue · 1 comments

Given you are using existing form element (like we do), this line produced some graphic glitches. Usually you work with content-box elements which means: Every button, input, checkbox, fieldset, ... has to be modified if you like to use reflex

Instead of

    // Reset the box-sizing so our grid works properly
    * {
        @include box-sizing(border-box);
    }

how about:

    // Reset the box-sizing so our grid works properly
    [class^="grid__"], [class*=" grid__"] {
        @include box-sizing(border-box);
    }

Could this work?

This is a fair point and I have incorporated a solution into version 2 which will be released very soon.