Skip to content

Xamarin.Forms ^base selector isn't compiled properly #22

@samhouts

Description

@samhouts

Installed product versions

  • Visual Studio: 16.7.0 Preview 2.0
  • This extension: 0.9.46

Description

Xamarin.Forms has its own selector to allow you to style any element with a base class matching the class. LessCompiler adds a space between the ^ and the class name.

Steps to recreate

Add a style like so:

^contentpage {
    background-color: red;
}

Save.

Current behavior

.css:

^ contentpage {
 background-color: red;
}

Expected behavior

.css:

^contentpage {
 background-color: red;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions