Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@at-root Variables not defined #354

Closed
designerno1 opened this issue Oct 16, 2015 · 1 comment
Closed

@at-root Variables not defined #354

designerno1 opened this issue Oct 16, 2015 · 1 comment

Comments

@designerno1
Copy link

tried to compile this got parser error

Parse error: Undefined variable $padding: failed at padding: $padding; /...../ on line 8

$table-padding: 10px !default;
//$padding: $table-padding;

@mixin table($padding: $table-padding) {
  @at-root {
    tbody {
      padding: $padding;
    }
  }
}
.test{
  .test2{
    padding: 0px;
    @include table;
  }
}
@robocoder
Copy link
Collaborator

Fixed in 1995cc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants