我有一个可重复使用的组件 "two-column-layout-wrapper",它的样式在主文件.css中。我想在另一个模块中使用此组件,但我需要不同宽度的两个类。我该如何覆盖样式?
import { Component } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { Response } from '@angular/http';
@Component({
selector: 'italik-managepackages',
styles: [`
:host {
display: flex;
}
`],
template: `
<div two-column-layout-wrapper>
<div sidebar-component italik-managepackages-overview></div>
</div>
`
})
export class ManagePackagesComponent {
}