mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: fix typo in component customization guide (#8793)
This commit is contained in:
committed by
mmalerba
parent
0c392196fb
commit
f383b70175
@@ -63,7 +63,7 @@ If your component has view encapsulation turned on (default), your component sty
|
||||
affect the top level children in your template. HTML elements belonging to child components cannot
|
||||
be targeted by your component styles unless you do one of the following:
|
||||
|
||||
- Add the overriding style to you global stylesheet. Scope the selectors so that it only affects
|
||||
- Add the overriding style to your global stylesheet. Scope the selectors so that it only affects
|
||||
the specific elements you need it to.
|
||||
- Turn view encapsulation off on your component. If you do this, be sure to scope your styles
|
||||
appropriately, or else you may end up incidentally targeting other components elswhere in your
|
||||
|
||||
Reference in New Issue
Block a user