Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom class is not getting applied #2253

Closed
hardikpthv opened this issue Jul 22, 2017 · 2 comments
Closed

Custom class is not getting applied #2253

hardikpthv opened this issue Jul 22, 2017 · 2 comments

Comments

@hardikpthv
Copy link

In tabs while setting custom css class is not applying to the tab component. <tab heading="Static title" customClass="customClass">Static content</tab>
http://valor-software.com/ngx-bootstrap/#/tabs#styling

@valorkin
Copy link
Member

@hardikpthv it is applying, but seems we did not add something special for it

<div class="tab-content">
  <tab customclass="customClass" heading="Static title" class="tab-pane">Static content</tab>
  <!--template bindings={}--><tab class="tab-pane">
    Dynamic content 1
  </tab><tab class="tab-pane active">
    Dynamic content 2
  </tab>
</div>

@hardikpthv
Copy link
Author

hardikpthv commented Jul 24, 2017

@valorkin as of now solved it by setting encapsulation: ViewEncapsulation.Native.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants