Skip to content

treat SCSS @else as a template_else token type #399

Description

@prettydiff
@mixin block-size( $size: $global-block-context, $context: $global-block-context ) {
  @if $size == $context {
    width: 100%;
  }
  @else {
    width: percentage($size / $context);
  }
}

The @else line should be } @else {

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions