gridlex icon indicating copy to clipboard operation
gridlex copied to clipboard

col-0 doesn't hide if used with breakpoints

Open dannyuk1982 opened this issue 8 years ago • 5 comments

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)

dannyuk1982 avatar Jul 21 '17 12:07 dannyuk1982

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.

devlint avatar Jul 21 '17 13:07 devlint

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

dannyuk1982 avatar Jul 25 '17 16:07 dannyuk1982

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...

stadtkonzeptbasel avatar Jul 27 '17 08:07 stadtkonzeptbasel

@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?

dannyuk1982 avatar Jul 27 '17 08:07 dannyuk1982

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

stadtkonzeptbasel avatar Jul 27 '17 08:07 stadtkonzeptbasel