Skip to content

Improper double whitespace before !important #281

Closed
@csisy

Description

@csisy

By formatting an scss file, a whitespace is inserted before every !important. However, putting !important after a variable inserts double spaces instead of one.

For example, the following source

.my-class {
  font-size: $size !important;
}

is formatted into

.my-class {
  font-size: $size  !important;
}

Please note the double space between the !important and the variable.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions