Re: [Sass] SCSS comment issue

18 views
Skip to first unread message

Chris Eppstein

unread,
May 6, 2013, 4:11:35 PM5/6/13
to sass...@googlegroups.com
This is a known issue: https://github.com/nex3/sass/issues/235

chris


On Sun, May 5, 2013 at 2:34 AM, praveen vijayan <praveenv...@gmail.com> wrote:

Following is my SCSS file and its output. But when you check the compiled comments all are misplaced.

SCSS

/* Navigation */
.navigation{
   background: red;
   /*Subnavigation 1*/
  .subnav{
     background: #FFF;
   }
   /*Subnavigation 2*/
   .subnav2{
      background: black;
   }
 }

Output

/* Navigation */
.navigation {
  background: red;
  /*Subnavigation 1*/
  /*Subnavigation 2*/
}

.navigation .subnav {
  background: #FFF;
}

.navigation .subnav2 {
   background: black;
}

Desired output

/* Navigation */
.navigation {
  background: red;
}
/*Subnavigation 1*/
.navigation .subnav {
  background: #FFF;
}
/*Subnavigation 2*/
.navigation .subnav2 {
   background: black;
}

Is it a bug or issue with SCSS?. I'm using Compass 0.12.2 (Alnilam).


http://stackoverflow.com/questions/16383137/scss-comment-issue

--
You received this message because you are subscribed to the Google Groups "Sass" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sass-lang+...@googlegroups.com.
To post to this group, send email to sass...@googlegroups.com.
Visit this group at http://groups.google.com/group/sass-lang?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages