Skip to content

Global css styles in components with ViewEncapsulation.None doesn't apply  #794

Closed

Description

@sis0k0

When the component's encapsulation is set to None, it's expected that the css styles in the component will be set as global. In the current implementation of the renderer, such component's use the default, NativeScriptRenderer, which doesn't apply the styles.
The fix is relatively easy - when using the default rednerer, just apply component styles with the addCss method from tns_modules/application.

Activity

  1. added this to the milestone on May 11, 2017
  2. self-assigned this
    on May 11, 2017
  3. added a commit that references this issue on May 22, 2017
    8488e03
  4. added a commit that references this issue on May 25, 2017
    8d013e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions