csswizardry-grids icon indicating copy to clipboard operation
csswizardry-grids copied to clipboard

Added !global to $class-type

Open emersonthis opened this issue 11 years ago • 3 comments

Silent classes weren't working in newer versions of Sass (3.2+) because variable scope changed. The intended behavior was repaired by overtly specifying !global.

emersonthis avatar Jun 23 '14 16:06 emersonthis

It still seems to work fine without this… are you using a particular version/flavour of Sass?

csswizardry avatar Jul 21 '14 12:07 csswizardry

I'm on Sass 3.3.8 (Maptastic Maple)

Harry Roberts wrote:

It still seems to work fine without this… are you using a particular version/flavour of Sass?

— Reply to this email directly or view it on GitHub https://github.com/csswizardry/csswizardry-grids/pull/73#issuecomment-49597087.

emersonthis avatar Jul 21 '14 12:07 emersonthis

CSSWizardry is now using a ternary operator to define $class-type rather than a conditional statement so this is no longer an issue.

KittyGiraudel avatar Aug 07 '14 15:08 KittyGiraudel