Pillow
Pillow

Reputation: 109

Can't change encapsulated class in angular

Angular creates a div with a class container and put inside my component html. Is it possible to change that class to a container-fluid ? I read that angular use encapsulation but im not sure where can I find that div and if its even possible to change it's class.

enter image description here

Upvotes: 0

Views: 75

Answers (1)

Med Amine Majd
Med Amine Majd

Reputation: 36

you can find the html file who has that div in src/app/app.component.html check it and change the class that you want. hope that help

Upvotes: 1

Related Questions