rstacruz / rscss

Reasonable System for CSS Stylesheet Structure
https://ricostacruz.com/rscss
3.91k stars 176 forks source link

Is it typo on nested-components.md? #82

Open mymactive opened 3 years ago

mymactive commented 3 years ago

Hi,

I may found a typo on nested-components.md. This is below:


.article-header {
  > .vote-box > .up { /* ✗ avoid this */ }
}

Instead, prefer to add a variant to the nested component and apply it from the containing component.

<div class='article-header'>
  <div class='vote-box -highlight'>
    ...
  </div>
  ...
</div>

"article-header" shall be "article-link". If you don't mind this, I would fix typos. See #83.