Skip to main content
Participating Frequently
Oct 3, 2019 3:05 PM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Jon Fritz
Jon FritzCorrect answer
Community Expert
Oct 3, 2019 5:33 PM UTC

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
Oct 3, 2019 5:33 PM UTC

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.

Translate