app.component.html
<div class="container main-area">
<app-header></app-header>
<router-outlet></router-outlet>
</div>
<app-footer></app-footer>
global.css
.container{
max-width : 1022 px;
}
child.component.html
<div class="media-area">
<media-area></media-area>
</div>
Здесь мой дочерний компонент также принимаетmax-width 1022px из контейнера app.component.html
Как я могу переопределить это и сделать
.media-area{
width: 100%; (it should take full screen width and not the parent container width)
}
отдельно от этого компонента, все другие компоненты нуждаются в ширине контейнерабыть 1022px