Open abhishekit29 opened 7 years ago
Perhaps if you remove encapsulation with encapsulation: ViewEncapsulation.None, it should work.
Eq:
import { Component, AfterViewInit, ViewEncapsulation } from '@angular/core';
@Component({
moduleId: module.id,
selector: "connect",
templateUrl: './connect.component.html',
styleUrls: ['./connect.component.css', './connect-chat.css'],
encapsulation: ViewEncapsulation.None
})
PS: I believe it should be
ngAfterViewInit
I am using angular2. While pressing send messages are displayed with css applied ony if I I am putting them in app.css not in connect-chat.css