mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fixes #5390 Before the change: // original CSS :host .foo .bar {...} .foo .bar {...} // translated to [_nghost-shh-2] .foo .bar {...} .foo[_ngcontent-shh-2] .bar[_ngcontent-shh-2] {...} Note that `.foo` and `.bar` where not scoped and would then apply to nested components. With this change those selectors are scoped (as they are without `:host`). You can explicitly apply the style to inner component by using `>>>` or `/deep/`: `:host >>> .foo` |
||
|---|---|---|
| .. | ||
| @angular | ||
| angular1_router | ||
| benchmarks | ||
| benchmarks_external | ||
| benchpress | ||
| e2e_util | ||
| payload_tests/hello_world/ts | ||
| playground | ||
| rollup-test | ||
| empty.ts | ||
| es6-subset.d.ts | ||
| system.d.ts | ||
| tsconfig.json | ||
| types.d.ts | ||