Skip to main content
Participating Frequently
October 3, 2019
Answered

Compilation error; in css there is a gap before ::after and ::before

  • October 3, 2019
  • 1 reply
  • 479 views

I have this error when I'm nesting styles in scss. Dreamweaver puts a gap between the stylename and ::before and ::after. I don't know how to get through this. Anyone could help?
Example:
IN SCSS

.page-wrapper{
         width:80%;
         margin:0 auto;
         ::after{
              content: " ";
              display: block;
              clear: both;
         }
}

IN CSS
.page-wrapper {
        width: 80%;
        margin: 0 auto; }
.page-wrapper ::after {
       content: " ";
       display: block;
       clear: both; }

There is a gap between the r and : (marked in red). How do I fix this? I know I can put it in an ordinary css style in scss but I want to solve this properly.

This topic has been closed for replies.
Correct answer Jon Fritz

Bug reporting can be done here: https://dreamweaver.uservoice.com/forums/382851-adobe-dreamweaver-bugs

It's possible someone has already brought up the issue, lending your voice to their report will help prioritize issues for the Dev Team. If it hasn't been brought up, start a new report. make sure to include all steps to replicate the problem so Adobe knows what's going on.

1 reply

Jon Fritz
Community Expert
Jon FritzCommunity ExpertCorrect answer
Community Expert
October 3, 2019

Bug reporting can be done here: https://dreamweaver.uservoice.com/forums/382851-adobe-dreamweaver-bugs

It's possible someone has already brought up the issue, lending your voice to their report will help prioritize issues for the Dev Team. If it hasn't been brought up, start a new report. make sure to include all steps to replicate the problem so Adobe knows what's going on.