devlint / gridlex

Just a CSS Flexbox Grid System
http://gridlex.devlint.fr
MIT License
1.38k stars 144 forks source link

col-0 doesn't hide if used with breakpoints #59

Open dannyuk1982 opened 7 years ago

dannyuk1982 commented 7 years ago

This works: col-0 but this does not seem to col-2_xs-0 (for any breakpoint).

The CSS that sets display: block only checks [class*="col-"]:not([class*="grid"]):not([class*="col-0"]) {

Adding !important to lines 192, 195 and 199 seems to fix this (although likely breaks something else)

devlint commented 7 years ago

Hello. Have you a codepen/fiddle/etc. example? On http://gridlex.devlint.fr I've a demo working (search "hidden up to _lg"). _For information, _xx-0 if only and only for this breakpoint._

dannyuk1982 commented 7 years ago

Hi @devlint I will close this for now as I might have been using it wrongly - my first project with this framework! Thanks for the quick response

stadtkonzeptbasel commented 7 years ago

hey @dannyuk1982 got the same issue. How did you manage this? I'm using following classes: col-2_sm-3_xs-0 but its not hidden in xs...

dannyuk1982 commented 7 years ago

@bench-artwork the only place I used it was col_md-0_sm-0_xs-0 and it seems to work - I find it a bit confusing TBH. Could you paste your non-working example into codepen for @devlint to have a look at?

stadtkonzeptbasel commented 7 years ago

here you go @devlint: https://codepen.io/anon/pen/PKqyda