From 9b117539d1e741be208b8a15a35ee2694f72d268 Mon Sep 17 00:00:00 2001 From: mymactive <60250695+miyazaki-masashi@users.noreply.github.com> Date: Fri, 6 Aug 2021 23:47:10 +0900 Subject: [PATCH] doc: fix typos on nested-components.md --- docs/nested-components.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nested-components.md b/docs/nested-components.md index 51dfab2..7ee0243 100644 --- a/docs/nested-components.md +++ b/docs/nested-components.md @@ -18,7 +18,7 @@ Sometimes it's necessary to nest components. Here are some guidelines for doing A component may need to appear a certain way when nested in another component. Avoid modifying the nested component by reaching into it from the containing component. ```scss -.article-header { +.article-link { > .vote-box > .up { /* ✗ avoid this */ } } ``` @@ -26,7 +26,7 @@ A component may need to appear a certain way when nested in another component. A Instead, prefer to add a variant to the nested component and apply it from the containing component. ```html -