Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 43861d9

Browse files
committed
Clarify documentation on similar sub-components
1 parent ccb84f9 commit 43861d9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

css-comments/Readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,21 +298,21 @@ use a level 2 heading for each sub-component.
298298
}
299299
```
300300

301-
Note that if there is a relavent sub-component that can't have it's own class,
302-
then group it together with it's closest related sub-component. Example:
301+
Note that if there is a relavent sub-component that can't have it's own section
302+
(perhaps it's a really tiny set of styles, or it's tightly related with an
303+
existing sub-component) then group it together with it's closest
304+
related sub-component.
305+
306+
Notice the lack of any "Link Arrow" heading in the following example:
303307

304308
```
305309
// Breadcrumbs: Link
306310
// -----------------
307-
//
308-
// Notes:
309-
//
310-
// 1. This is the Link Arrow
311311
312312
.c-breadcrumbs__link {
313313
}
314314
315-
.c-breadcrumbs__link-arrow { // 1
315+
.c-breadcrumbs__link-arrow {
316316
317317
}
318318
```

0 commit comments

Comments
 (0)